diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-12-08 09:31:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:23:27 -0500 |
commit | 998d516d9546eba04dd99ae49a78acb0cf770478 (patch) | |
tree | 38a3a5cf88979d6de4162467b2d7c631daa31533 | |
parent | 6b3b991dbdb66a65a2167abbd9503e519fa999f3 (diff) |
ath: Missed to clear key4 of micentry
key4 of micentry is used, if ATH_CRYPT_CAP_MIC_COMBINED is set.
But is not cleared on key cache reset.
Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/key.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c index 29a2961af5fc..5d465e5fcf24 100644 --- a/drivers/net/wireless/ath/key.c +++ b/drivers/net/wireless/ath/key.c | |||
@@ -58,6 +58,8 @@ bool ath_hw_keyreset(struct ath_common *common, u16 entry) | |||
58 | REG_WRITE(ah, AR_KEYTABLE_KEY1(micentry), 0); | 58 | REG_WRITE(ah, AR_KEYTABLE_KEY1(micentry), 0); |
59 | REG_WRITE(ah, AR_KEYTABLE_KEY2(micentry), 0); | 59 | REG_WRITE(ah, AR_KEYTABLE_KEY2(micentry), 0); |
60 | REG_WRITE(ah, AR_KEYTABLE_KEY3(micentry), 0); | 60 | REG_WRITE(ah, AR_KEYTABLE_KEY3(micentry), 0); |
61 | if (common->crypt_caps & ATH_CRYPT_CAP_MIC_COMBINED) | ||
62 | REG_WRITE(ah, AR_KEYTABLE_KEY4(micentry), 0); | ||
61 | 63 | ||
62 | } | 64 | } |
63 | 65 | ||