diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-09-24 08:28:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-27 15:57:56 -0400 |
commit | e2b626248b0799bd14be40ce290c6681a8419512 (patch) | |
tree | 8e66524373c8057c7cd2c34fe00ef015d10f8427 /drivers/net/wireless/ath/ath9k | |
parent | 554891e63a29af35cc6bb403ef34e319518114d0 (diff) |
ath9k_htc: Fix TKIP disconnect failure with HTC drivers
The following commit removed splitmic. But forgot to add
ATH_CRYPT_CAP_MIC_COMBINED flag for HTC drivers which causes
TKIP to fail.
Author: Bruno Randolf <br1@einfach.org>
Date: Wed Sep 8 16:04:54 2010 +0900
ath/ath9k: Replace common->splitmic with a flag
Replace common->splitmic with ATH_CRYPT_CAP_MIC_COMBINED flag.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 33850c952314..b100db2766cf 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c | |||
@@ -561,6 +561,9 @@ static void ath9k_init_crypto(struct ath9k_htc_priv *priv) | |||
561 | common->keymax = ATH_KEYMAX; | 561 | common->keymax = ATH_KEYMAX; |
562 | } | 562 | } |
563 | 563 | ||
564 | if (priv->ah->misc_mode & AR_PCU_MIC_NEW_LOC_ENA) | ||
565 | common->crypt_caps |= ATH_CRYPT_CAP_MIC_COMBINED; | ||
566 | |||
564 | /* | 567 | /* |
565 | * Reset the key cache since some parts do not | 568 | * Reset the key cache since some parts do not |
566 | * reset the contents on initial power up. | 569 | * reset the contents on initial power up. |