staging: wilc1000: rename tenuAuth_type of struct host_if_wep_attr
authorTony Cho <tony.cho@atmel.com>
Mon, 12 Oct 2015 07:56:15 +0000 (16:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
This patch renames tenuAuth_type of struct host_if_wep_attr to auth_type
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 edea2654c9ea3ddadfb9130261cb907be5b29dbf..ec04aecb0c7cd8002255068ca43e670ef47d62b9 100644 (file)
@@ -112,7 +112,7 @@ struct host_if_wep_attr {
        u8 key_len;
        u8 index;
        u8 mode;
-       enum AUTHTYPE tenuAuth_type;
+       enum AUTHTYPE auth_type;
 };
 
 /*!
@@ -2358,7 +2358,7 @@ static int Handle_Key(struct host_if_drv *hif_drv,
                        strWIDList[1].id = WID_AUTH_TYPE;
                        strWIDList[1].type = WID_CHAR;
                        strWIDList[1].size = sizeof(char);
-                       strWIDList[1].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.wep.tenuAuth_type));
+                       strWIDList[1].val = (s8 *)(&(pstrHostIFkeyAttr->uniHostIFkeyAttr.wep.auth_type));
 
                        strWIDList[2].id = (u16)WID_KEY_ID;
                        strWIDList[2].type = WID_CHAR;
@@ -4274,7 +4274,7 @@ s32 host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
 
        msg.body.key_info.uniHostIFkeyAttr.wep.mode = u8mode;
 
-       msg.body.key_info.uniHostIFkeyAttr.wep.tenuAuth_type = tenuAuth_type;
+       msg.body.key_info.uniHostIFkeyAttr.wep.auth_type = tenuAuth_type;
        /* send the message */
        s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));