Commit 5cd8f7ae authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename WPARxGtk of enum KEY_TYPE

This patch renames WPARxGtk of enum KEY_TYPE to WPA_RX_GTK
to avoid CamelCase naming convention.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54160376
...@@ -1795,7 +1795,7 @@ static int Handle_Key(struct host_if_drv *hif_drv, ...@@ -1795,7 +1795,7 @@ static int Handle_Key(struct host_if_drv *hif_drv,
up(&hif_drv->sem_test_key_block); up(&hif_drv->sem_test_key_block);
break; break;
case WPARxGtk: case WPA_RX_GTK:
if (pstrHostIFkeyAttr->action & ADDKEY_AP) { if (pstrHostIFkeyAttr->action & ADDKEY_AP) {
pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL); pu8keybuf = kzalloc(RX_MIC_KEY_MSG_LEN, GFP_KERNEL);
if (!pu8keybuf) { if (!pu8keybuf) {
...@@ -3285,7 +3285,7 @@ s32 host_int_add_rx_gtk(struct host_if_drv *hif_drv, const u8 *pu8RxGtk, ...@@ -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.id = HOST_IF_MSG_KEY;
msg.body.key_info.type = WPARxGtk; msg.body.key_info.type = WPA_RX_GTK;
msg.drv = hif_drv; msg.drv = hif_drv;
if (mode == AP_MODE) { if (mode == AP_MODE) {
......
...@@ -163,7 +163,7 @@ enum conn_event { ...@@ -163,7 +163,7 @@ enum conn_event {
enum KEY_TYPE { enum KEY_TYPE {
WEP, WEP,
WPARxGtk, WPA_RX_GTK,
WPAPtk, WPAPtk,
PMKSA, PMKSA,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment