staging: wilc1000: rename strRcvdGnrlAsyncInfo
authorTony Cho <tony.cho@atmel.com>
Wed, 30 Sep 2015 09:44:23 +0000 (18:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:55:59 +0000 (11:55 +0200)
This patch renames strRcvdGnrlAsyncInfo to async_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 8a93112bb7865953d60a263be6f704fed744aef1..b24c022bbc5191fea67d6c89b5d5af35006a99df 100644 (file)
@@ -417,7 +417,7 @@ union message_body {
        struct scan_attr scan_info;
        struct connect_attr con_info;
        struct rcvd_net_info net_info;
-       struct rcvd_async_info strRcvdGnrlAsyncInfo;
+       struct rcvd_async_info async_info;
        struct key_attr strHostIFkeyAttr;
        struct cfg_param_attr strHostIFCfgParamAttr;
        struct set_channel strHostIFSetChan;
@@ -4115,7 +4115,7 @@ static int hostIFthread(void *pvArg)
                        break;
 
                case HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO:
-                       Handle_RcvdGnrlAsyncInfo(msg.drvHandler, &msg.body.strRcvdGnrlAsyncInfo);
+                       Handle_RcvdGnrlAsyncInfo(msg.drvHandler, &msg.body.async_info);
                        break;
 
                case HOST_IF_MSG_KEY:
@@ -6359,9 +6359,9 @@ void GnrlAsyncInfoReceived(u8 *pu8Buffer, u32 u32Length)
        msg.drvHandler = pstrWFIDrv;
 
 
-       msg.body.strRcvdGnrlAsyncInfo.u32Length = u32Length;
-       msg.body.strRcvdGnrlAsyncInfo.pu8Buffer = kmalloc(u32Length, GFP_KERNEL); /* will be deallocated by the receiving thread */
-       memcpy(msg.body.strRcvdGnrlAsyncInfo.pu8Buffer,
+       msg.body.async_info.u32Length = u32Length;
+       msg.body.async_info.pu8Buffer = kmalloc(u32Length, GFP_KERNEL); /* will be deallocated by the receiving thread */
+       memcpy(msg.body.async_info.pu8Buffer,
                    pu8Buffer, u32Length);
 
        /* send the message */
This page took 0.029173 seconds and 5 git commands to generate.