staging: wilc1000: rename strHostIFCfgParamAttr
authorTony Cho <tony.cho@atmel.com>
Wed, 30 Sep 2015 09:44:25 +0000 (18:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:55:59 +0000 (11:55 +0200)
This patch renames strHostIFCfgParamAttr to cfg_info to avoid CamelCase
naming convention.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index d4e81220e8738dc71a3452f51e0c04dc7a4f8804..76e82e60ef1aa7bf059657bcc20e91ad12849dea 100644 (file)
@@ -419,7 +419,7 @@ union message_body {
        struct rcvd_net_info net_info;
        struct rcvd_async_info async_info;
        struct key_attr key_info;
-       struct cfg_param_attr strHostIFCfgParamAttr;
+       struct cfg_param_attr cfg_info;
        struct set_channel strHostIFSetChan;
        struct get_channel strHostIFGetChan;
        struct set_beacon strHostIFSetBeacon;
@@ -4124,7 +4124,7 @@ static int hostIFthread(void *pvArg)
 
                case HOST_IF_MSG_CFG_PARAMS:
 
-                       Handle_CfgParam(msg.drvHandler, &msg.body.strHostIFCfgParamAttr);
+                       Handle_CfgParam(msg.drvHandler, &msg.body.cfg_info);
                        break;
 
                case HOST_IF_MSG_SET_CHANNEL:
@@ -5854,7 +5854,7 @@ s32 hif_set_cfg(tstrWILC_WFIDrv *hWFIDrv, tstrCfgParamVal *pstrCfgParamVal)
        /* prepare the WiphyParams Message */
        memset(&msg, 0, sizeof(struct host_if_msg));
        msg.id = HOST_IF_MSG_CFG_PARAMS;
-       msg.body.strHostIFCfgParamAttr.pstrCfgParamVal = *pstrCfgParamVal;
+       msg.body.cfg_info.pstrCfgParamVal = *pstrCfgParamVal;
        msg.drvHandler = hWFIDrv;
 
        s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));