staging: wilc1000: rename strHostIfBASessionInfo
authorTony Cho <tony.cho@atmel.com>
Wed, 30 Sep 2015 09:55:09 +0000 (18:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:57:00 +0000 (11:57 +0200)
This patch renames strHostIfBASessionInfo to session_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 a6702dd1607a02ecd9b9ce63aa758e8a3b89e7ec..b7797a50886969237a685fa53dbf76b64bf0ec83 100644 (file)
@@ -389,7 +389,7 @@ union message_body {
        struct op_mode mode;
        struct set_mac_addr set_mac_info;
        struct get_mac_addr get_mac_info;
-       struct ba_session_info strHostIfBASessionInfo;
+       struct ba_session_info session_info;
        struct remain_ch strHostIfRemainOnChan;
        struct reg_frame strHostIfRegisterFrame;
        char *pUserData;
@@ -4204,11 +4204,11 @@ static int hostIFthread(void *pvArg)
                        break;
 
                case HOST_IF_MSG_ADD_BA_SESSION:
-                       Handle_AddBASession(msg.drvHandler, &msg.body.strHostIfBASessionInfo);
+                       Handle_AddBASession(msg.drvHandler, &msg.body.session_info);
                        break;
 
                case HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS:
-                       Handle_DelAllRxBASessions(msg.drvHandler, &msg.body.strHostIfBASessionInfo);
+                       Handle_DelAllRxBASessions(msg.drvHandler, &msg.body.session_info);
                        break;
 
                case HOST_IF_MSG_DEL_ALL_STA:
@@ -7119,7 +7119,7 @@ static int host_int_addBASession(tstrWILC_WFIDrv *hWFIDrv, char *pBSSID, char TI
        s32 s32Error = 0;
        tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
        struct host_if_msg msg;
-       struct ba_session_info *pBASessionInfo = &msg.body.strHostIfBASessionInfo;
+       struct ba_session_info *pBASessionInfo = &msg.body.session_info;
 
        if (pstrWFIDrv == NULL) {
                PRINT_ER("driver is null\n");
@@ -7150,7 +7150,7 @@ s32 host_int_delBASession(tstrWILC_WFIDrv *hWFIDrv, char *pBSSID, char TID)
        s32 s32Error = 0;
        tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
        struct host_if_msg msg;
-       struct ba_session_info *pBASessionInfo = &msg.body.strHostIfBASessionInfo;
+       struct ba_session_info *pBASessionInfo = &msg.body.session_info;
 
        if (pstrWFIDrv == NULL) {
                PRINT_ER("driver is null\n");
@@ -7180,7 +7180,7 @@ s32 host_int_del_All_Rx_BASession(tstrWILC_WFIDrv *hWFIDrv, char *pBSSID, char T
        s32 s32Error = 0;
        tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
        struct host_if_msg msg;
-       struct ba_session_info *pBASessionInfo = &msg.body.strHostIfBASessionInfo;
+       struct ba_session_info *pBASessionInfo = &msg.body.session_info;
 
        if (pstrWFIDrv == NULL) {
                PRINT_ER("driver is null\n");