staging: wilc1000: rename ssidLen of struct user_conn_req
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 02:58:53 +0000 (11:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames ssidLen of struct user_conn_req to ssid_len
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 35a1262..9f70a85 100644 (file)
@@ -1010,7 +1010,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
                memcpy(hif_drv->usr_conn_req.pu8bssid, pstrHostIFconnectAttr->bssid, 6);
        }
 
-       hif_drv->usr_conn_req.ssidLen = pstrHostIFconnectAttr->ssid_len;
+       hif_drv->usr_conn_req.ssid_len = pstrHostIFconnectAttr->ssid_len;
        if (pstrHostIFconnectAttr->ssid) {
                hif_drv->usr_conn_req.pu8ssid = kmalloc(pstrHostIFconnectAttr->ssid_len + 1, GFP_KERNEL);
                memcpy(hif_drv->usr_conn_req.pu8ssid,
@@ -1371,7 +1371,7 @@ static s32 Handle_ConnectTimeout(struct host_if_drv *hif_drv)
        if (result)
                PRINT_ER("Failed to send dissconect config packet\n");
 
-       hif_drv->usr_conn_req.ssidLen = 0;
+       hif_drv->usr_conn_req.ssid_len = 0;
        kfree(hif_drv->usr_conn_req.pu8ssid);
        kfree(hif_drv->usr_conn_req.pu8bssid);
        hif_drv->usr_conn_req.ConnReqIEsLen = 0;
@@ -1623,7 +1623,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct host_if_drv *hif_drv,
 
                        kfree(strConnectInfo.pu8ReqIEs);
                        strConnectInfo.pu8ReqIEs = NULL;
-                       hif_drv->usr_conn_req.ssidLen = 0;
+                       hif_drv->usr_conn_req.ssid_len = 0;
                        kfree(hif_drv->usr_conn_req.pu8ssid);
                        kfree(hif_drv->usr_conn_req.pu8bssid);
                        hif_drv->usr_conn_req.ConnReqIEsLen = 0;
@@ -1659,7 +1659,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct host_if_drv *hif_drv,
 
                        eth_zero_addr(hif_drv->assoc_bssid);
 
-                       hif_drv->usr_conn_req.ssidLen = 0;
+                       hif_drv->usr_conn_req.ssid_len = 0;
                        kfree(hif_drv->usr_conn_req.pu8ssid);
                        kfree(hif_drv->usr_conn_req.pu8bssid);
                        hif_drv->usr_conn_req.ConnReqIEsLen = 0;
@@ -2023,7 +2023,7 @@ static void Handle_Disconnect(struct host_if_drv *hif_drv)
 
                eth_zero_addr(hif_drv->assoc_bssid);
 
-               hif_drv->usr_conn_req.ssidLen = 0;
+               hif_drv->usr_conn_req.ssid_len = 0;
                kfree(hif_drv->usr_conn_req.pu8ssid);
                kfree(hif_drv->usr_conn_req.pu8bssid);
                hif_drv->usr_conn_req.ConnReqIEsLen = 0;
index dcb68ea..69ce8f1 100644 (file)
@@ -203,7 +203,7 @@ struct user_conn_req {
        u8 *pu8ssid;
        u8 u8security;
        enum AUTHTYPE tenuAuth_type;
-       size_t ssidLen;
+       size_t ssid_len;
        u8 *pu8ConnReqIEs;
        size_t ConnReqIEsLen;
        wilc_connect_result pfUserConnectResult;