diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2012-07-11 12:50:20 +0200 | 
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-11 12:50:20 +0200 | 
| commit | 0dc19510430b20b3b2d6d1b9b796fd42fa2af64a (patch) | |
| tree | a512cf400d74d72272ce6cf5c4d782538213d433 /drivers/net/wireless/ath/key.c | |
| parent | b52a2c472d7fcf215e31dffdd382651e1b99f138 (diff) | |
| parent | bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a (diff) | |
| download | olio-linux-3.10-0dc19510430b20b3b2d6d1b9b796fd42fa2af64a.tar.xz olio-linux-3.10-0dc19510430b20b3b2d6d1b9b796fd42fa2af64a.zip  | |
Merge tag 'v3.5-rc6' into next/soc
Linux 3.5-rc6
Dependency for imx/soc changes
Diffstat (limited to 'drivers/net/wireless/ath/key.c')
| -rw-r--r-- | drivers/net/wireless/ath/key.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c index 0e81904956c..5c54aa43ca2 100644 --- a/drivers/net/wireless/ath/key.c +++ b/drivers/net/wireless/ath/key.c @@ -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;  |