staging: wilc1000: rename u8security in user_conn_req
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 12 Feb 2016 14:04:42 +0000 (23:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:25:38 +0000 (16:25 -0800)
This patch renames u8security to security to remove u8 prefix in struct
user_conn_req. There is no need to use prefix to show data type of this
variable.

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

index 397ef617656ed87b14027c28c9bd9d5b34a3441d..a9c8b15f57dcd0b9540dc99451f73a3504f6741e 100644 (file)
@@ -986,7 +986,7 @@ static s32 Handle_Connect(struct wilc_vif *vif,
                       pstrHostIFconnectAttr->ies_len);
        }
 
-       hif_drv->usr_conn_req.u8security = pstrHostIFconnectAttr->security;
+       hif_drv->usr_conn_req.security = pstrHostIFconnectAttr->security;
        hif_drv->usr_conn_req.auth_type = pstrHostIFconnectAttr->auth_type;
        hif_drv->usr_conn_req.conn_result = pstrHostIFconnectAttr->result;
        hif_drv->usr_conn_req.arg = pstrHostIFconnectAttr->arg;
@@ -1026,11 +1026,11 @@ static s32 Handle_Connect(struct wilc_vif *vif,
        strWIDList[u32WidsCount].id = (u16)WID_11I_MODE;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].val = (s8 *)&hif_drv->usr_conn_req.u8security;
+       strWIDList[u32WidsCount].val = (s8 *)&hif_drv->usr_conn_req.security;
        u32WidsCount++;
 
        if (memcmp("DIRECT-", pstrHostIFconnectAttr->ssid, 7))
-               mode_11i = hif_drv->usr_conn_req.u8security;
+               mode_11i = hif_drv->usr_conn_req.security;
 
        strWIDList[u32WidsCount].id = (u16)WID_AUTH_TYPE;
        strWIDList[u32WidsCount].type = WID_CHAR;
index 30acf40e855c14f0f5554bbc5ca85826e652ef53..5e65f2cfb8cbad9a002e17a14896f3a4224963cf 100644 (file)
@@ -205,7 +205,7 @@ struct user_scan_req {
 struct user_conn_req {
        u8 *bssid;
        u8 *ssid;
-       u8 u8security;
+       u8 security;
        enum AUTHTYPE auth_type;
        size_t ssid_len;
        u8 *ies;