Commit 3e5c4ab6 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: rename u8Idx in host_int_add_ptk

This patch changes u8Idx to index to avoid camelcase.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f0c82579
...@@ -3210,7 +3210,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, ...@@ -3210,7 +3210,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk, int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
u8 ptk_key_len, const u8 *mac_addr, u8 ptk_key_len, const u8 *mac_addr,
const u8 *rx_mic, const u8 *tx_mic, const u8 *rx_mic, const u8 *tx_mic,
u8 mode, u8 cipher_mode, u8 u8Idx) u8 mode, u8 cipher_mode, u8 index)
{ {
int result = 0; int result = 0;
struct host_if_msg msg; struct host_if_msg msg;
...@@ -3234,7 +3234,7 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk, ...@@ -3234,7 +3234,7 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
msg.body.key_info.type = WPA_PTK; msg.body.key_info.type = WPA_PTK;
if (mode == AP_MODE) { if (mode == AP_MODE) {
msg.body.key_info.action = ADDKEY_AP; msg.body.key_info.action = ADDKEY_AP;
msg.body.key_info.attr.wpa.index = u8Idx; msg.body.key_info.attr.wpa.index = index;
} }
if (mode == STATION_MODE) if (mode == STATION_MODE)
msg.body.key_info.action = ADDKEY; msg.body.key_info.action = ADDKEY;
......
...@@ -314,7 +314,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv, ...@@ -314,7 +314,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk, int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
u8 ptk_key_len, const u8 *mac_addr, u8 ptk_key_len, const u8 *mac_addr,
const u8 *rx_mic, const u8 *tx_mic, const u8 *rx_mic, const u8 *tx_mic,
u8 mode, u8 cipher_mode, u8 u8Idx); u8 mode, u8 cipher_mode, u8 index);
s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac, s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac,
u32 *pu32InactiveTime); u32 *pu32InactiveTime);
s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk, s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk,
......
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