staging: wilc1000: rename WPARxGtk of enum KEY_TYPE
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:34 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames WPARxGtk of enum KEY_TYPE to WPA_RX_GTK
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 590d8a423a2e24a0453c46e9812142f1c0a9c94d..ead99ab111ad9ee3d3e248ec2732089d04af5c72 100644 (file)
@@ -1795,7 +1795,7 @@ static int Handle_Key(struct host_if_drv *hif_drv,
                up(&hif_drv->sem_test_key_block);
                break;
 
-       case WPARxGtk:
+       case WPA_RX_GTK:
                if (pstrHostIFkeyAttr->action & ADDKEY_AP) {
                        pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL);
                        if (!pu8keybuf) {
@@ -3285,7 +3285,7 @@ s32 host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *pu8RxGtk,
        }
 
        msg.id = HOST_IF_MSG_KEY;
-       msg.body.key_info.type = WPARxGtk;
+       msg.body.key_info.type = WPA_RX_GTK;
        msg.drv = hif_drv;
 
        if (mode == AP_MODE) {
index 59b1949a7ace870d0b409b41ec0e5d30b5a1e511..b3e74d1ff8973acd4e037edef49b232025e4cc21 100644 (file)
@@ -163,7 +163,7 @@ enum conn_event {
 
 enum KEY_TYPE {
        WEP,
-       WPARxGtk,
+       WPA_RX_GTK,
        WPAPtk,
        PMKSA,
 };