diff options
author | Ying Luo | 2012-08-04 03:06:13 +0200 |
---|---|---|
committer | John W. Linville | 2012-08-06 21:12:58 +0200 |
commit | 53b112315c015c50e4c092474adb6729269b0fc4 (patch) | |
tree | b6c4cb455d9fc32996dff910a063c6e9aefde32e /drivers/net/wireless/mwifiex/main.h | |
parent | mwifiex: rename wapi_rxpn to pn (diff) | |
download | kernel-qcow2-linux-53b112315c015c50e4c092474adb6729269b0fc4.tar.gz kernel-qcow2-linux-53b112315c015c50e4c092474adb6729269b0fc4.tar.xz kernel-qcow2-linux-53b112315c015c50e4c092474adb6729269b0fc4.zip |
mwifiex: pass key_params pointer in mwifiex_set_encode
'cipher' and 'seq' coming from cfg80211 add_key handler will be
parsed in mwifiex_set_encode() to handle AES_CMAC cipher suite.
Signed-off-by: Ying Luo <luoy@marvell.com>
Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index c39cd8e50f9f..994bc4fc263e 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h @@ -981,9 +981,9 @@ int mwifiex_scan_networks(struct mwifiex_private *priv, const struct mwifiex_user_scan_cfg *user_scan_in); int mwifiex_set_radio(struct mwifiex_private *priv, u8 option); -int mwifiex_set_encode(struct mwifiex_private *priv, const u8 *key, - int key_len, u8 key_index, const u8 *mac_addr, - int disable); +int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, + const u8 *key, int key_len, u8 key_index, + const u8 *mac_addr, int disable); int mwifiex_set_gen_ie(struct mwifiex_private *priv, u8 *ie, int ie_len); |