staging: wilc1000: rename strHostIFSetBeacon
authorTony Cho <tony.cho@atmel.com>
Wed, 30 Sep 2015 09:44:31 +0000 (18:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:55:59 +0000 (11:55 +0200)
This patch renames strHostIFSetBeacon to beacon_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 2f211f908673dfff62f37273fc0241175222461c..7e53aa9468be8c0a8c57ffd9db2ab1351c7e0dd5 100644 (file)
@@ -391,7 +391,7 @@ union message_body {
        struct key_attr key_info;
        struct cfg_param_attr cfg_info;
        struct channel_attr channel_info;
-       struct beacon_attr strHostIFSetBeacon;
+       struct beacon_attr beacon_info;
        struct add_sta_param strAddStaParam;
        struct del_sta strDelStaParam;
        struct add_sta_param strEditStaParam;
@@ -4134,7 +4134,7 @@ static int hostIFthread(void *pvArg)
                        break;
 
                case HOST_IF_MSG_ADD_BEACON:
-                       Handle_AddBeacon(msg.drvHandler, &msg.body.strHostIFSetBeacon);
+                       Handle_AddBeacon(msg.drvHandler, &msg.body.beacon_info);
                        break;
 
                case HOST_IF_MSG_DEL_BEACON:
@@ -6548,7 +6548,7 @@ s32 host_int_add_beacon(tstrWILC_WFIDrv *hWFIDrv, u32 u32Interval,
        s32 s32Error = 0;
        tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
        struct host_if_msg msg;
-       struct beacon_attr *pstrSetBeaconParam = &msg.body.strHostIFSetBeacon;
+       struct beacon_attr *pstrSetBeaconParam = &msg.body.beacon_info;
 
        if (pstrWFIDrv == NULL) {
                PRINT_ER("driver is null\n");