|
@@ -556,6 +556,9 @@ int ath_key_config(struct ath_common *common,
|
|
|
return -EIO;
|
|
|
|
|
|
set_bit(idx, common->keymap);
|
|
|
+ if (key->cipher == WLAN_CIPHER_SUITE_CCMP)
|
|
|
+ set_bit(idx, common->ccmp_keymap);
|
|
|
+
|
|
|
if (key->cipher == WLAN_CIPHER_SUITE_TKIP) {
|
|
|
set_bit(idx + 64, common->keymap);
|
|
|
set_bit(idx, common->tkip_keymap);
|
|
@@ -582,6 +585,7 @@ void ath_key_delete(struct ath_common *common, struct ieee80211_key_conf *key)
|
|
|
return;
|
|
|
|
|
|
clear_bit(key->hw_key_idx, common->keymap);
|
|
|
+ clear_bit(key->hw_key_idx, common->ccmp_keymap);
|
|
|
if (key->cipher != WLAN_CIPHER_SUITE_TKIP)
|
|
|
return;
|
|
|
|