staging: wilc1000: rename tenuAuth_type of struct connect_attr
authorLeo Kim <leo.kim@atmel.com>
Tue, 13 Oct 2015 10:49:57 +0000 (19:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 16:55:08 +0000 (09:55 -0700)
This patch renames tenuAuth_type of struct connect_attr to auth_type to
avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
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 0790dcb77fb89d5688a5e0d567ea5ae87ed3bc2e..695fd5c95e99ff1c0c9b53c534aa7f643e8a6311 100644 (file)
@@ -116,7 +116,7 @@ struct connect_attr {
        u8 security;
        wilc_connect_result result;
        void *arg;
-       enum AUTHTYPE tenuAuth_type;
+       enum AUTHTYPE auth_type;
        u8 u8channel;
        void *pJoinParams;
 };
@@ -1052,7 +1052,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
        }
 
        hif_drv->strWILC_UsrConnReq.u8security = pstrHostIFconnectAttr->security;
-       hif_drv->strWILC_UsrConnReq.tenuAuth_type = pstrHostIFconnectAttr->tenuAuth_type;
+       hif_drv->strWILC_UsrConnReq.tenuAuth_type = pstrHostIFconnectAttr->auth_type;
        hif_drv->strWILC_UsrConnReq.pfUserConnectResult = pstrHostIFconnectAttr->result;
        hif_drv->strWILC_UsrConnReq.u32UserConnectPvoid = pstrHostIFconnectAttr->arg;
 
@@ -3612,7 +3612,7 @@ s32 host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid,
        msg.id = HOST_IF_MSG_CONNECT;
 
        msg.body.con_info.security = u8security;
-       msg.body.con_info.tenuAuth_type = tenuAuth_type;
+       msg.body.con_info.auth_type = tenuAuth_type;
        msg.body.con_info.u8channel = u8channel;
        msg.body.con_info.result = pfConnectResult;
        msg.body.con_info.arg = pvUserArg;