staging: wilc1000: rename WPAPtk of enum KEY_TYPE
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:35 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames WPAPtk of enum KEY_TYPE to WPA_PTK
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 ead99ab111ad9ee3d3e248ec2732089d04af5c72..3e7c6e41198226d159c9098bb7ea49c0c20ead1e 100644 (file)
@@ -1869,7 +1869,7 @@ _WPARxGtk_end_case_:
 
                break;
 
-       case WPAPtk:
+       case WPA_PTK:
                if (pstrHostIFkeyAttr->action & ADDKEY_AP) {
                        pu8keybuf = kmalloc(PTK_KEY_MSG_LEN + 1, GFP_KERNEL);
                        if (!pu8keybuf) {
@@ -3216,7 +3216,7 @@ s32 host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *pu8Ptk,
        memset(&msg, 0, sizeof(struct host_if_msg));
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.key_info.type = WPAPtk;
+       msg.body.key_info.type = WPA_PTK;
        if (mode == AP_MODE) {
                msg.body.key_info.action = ADDKEY_AP;
                msg.body.key_info.attr.wpa.index = u8Idx;
index b3e74d1ff8973acd4e037edef49b232025e4cc21..f94bba69f15b0cd9de20b2d3dc5cf1ef367ec4bb 100644 (file)
@@ -164,7 +164,7 @@ enum conn_event {
 enum KEY_TYPE {
        WEP,
        WPA_RX_GTK,
-       WPAPtk,
+       WPA_PTK,
        PMKSA,
 };