staging: wilc1000: rename u16RespIEsLen in struct connect_info
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 25 Feb 2016 00:15:47 +0000 (09:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:30:09 +0000 (22:30 -0800)
This patch renames u16RespIEsLen to resp_ies_len to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.h
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index bb4c2560ef278010f8e2960fc01bd687e9ec2481..408031f646e3a307a4331162812a7af500b76ae4 100644 (file)
@@ -110,7 +110,7 @@ struct connect_info {
        u8 *req_ies;
        size_t req_ies_len;
        u8 *resp_ies;
-       u16 u16RespIEsLen;
+       u16 resp_ies_len;
        u16 u16ConnectStatus;
 };
 
index c273935b8320a825202869d6bd7374d2e81a9a0d..58902bf32907ac0c8072256ad64cbaf603d980d8 100644 (file)
@@ -1467,7 +1467,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif,
 
                                                if (strConnectInfo.u16ConnectStatus == SUCCESSFUL_STATUSCODE) {
                                                        if (pstrConnectRespInfo->ies) {
-                                                               strConnectInfo.u16RespIEsLen = pstrConnectRespInfo->ies_len;
+                                                               strConnectInfo.resp_ies_len = pstrConnectRespInfo->ies_len;
                                                                strConnectInfo.resp_ies = kmalloc(pstrConnectRespInfo->ies_len, GFP_KERNEL);
                                                                memcpy(strConnectInfo.resp_ies, pstrConnectRespInfo->ies,
                                                                       pstrConnectRespInfo->ies_len);
index 068530bdade14cdf483c8b9eaaea38a098bf0d10..82bdaa6205c40c14b847695c151a2ea3999632cf 100644 (file)
@@ -545,7 +545,7 @@ static void CfgConnectResult(enum conn_event enuConnDisconnEvent,
 
                cfg80211_connect_result(dev, pstrConnectInfo->bssid,
                                        pstrConnectInfo->req_ies, pstrConnectInfo->req_ies_len,
-                                       pstrConnectInfo->resp_ies, pstrConnectInfo->u16RespIEsLen,
+                                       pstrConnectInfo->resp_ies, pstrConnectInfo->resp_ies_len,
                                        u16ConnectStatus, GFP_KERNEL);
        } else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF)    {
                wilc_optaining_ip = false;