mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 16:17:41 -04:00
staging: wilc1000: rename WPAPtk of enum KEY_TYPE
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5cd8f7ae74
commit
2141fe391e
@@ -1869,7 +1869,7 @@ static int Handle_Key(struct host_if_drv *hif_drv,
|
||||
|
||||
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;
|
||||
|
||||
@@ -164,7 +164,7 @@ enum conn_event {
|
||||
enum KEY_TYPE {
|
||||
WEP,
|
||||
WPA_RX_GTK,
|
||||
WPAPtk,
|
||||
WPA_PTK,
|
||||
PMKSA,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user