diff options
Diffstat (limited to 'drivers/net/wireless/ath/key.c')
-rw-r--r-- | drivers/net/wireless/ath/key.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c index 5d465e5fcf24..37b8e115375a 100644 --- a/drivers/net/wireless/ath/key.c +++ b/drivers/net/wireless/ath/key.c | |||
@@ -58,8 +58,11 @@ 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) | 61 | if (common->crypt_caps & ATH_CRYPT_CAP_MIC_COMBINED) { |
62 | REG_WRITE(ah, AR_KEYTABLE_KEY4(micentry), 0); | 62 | REG_WRITE(ah, AR_KEYTABLE_KEY4(micentry), 0); |
63 | REG_WRITE(ah, AR_KEYTABLE_TYPE(micentry), | ||
64 | AR_KEYTABLE_TYPE_CLR); | ||
65 | } | ||
63 | 66 | ||
64 | } | 67 | } |
65 | 68 | ||