diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-04-25 08:09:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:41 -0400 |
commit | ded7a7eaab2a39b7b5c36a2ec3be46f6ebcedba5 (patch) | |
tree | 5ad1852b9ca14c8dd6e1c7f7e864bb11989464ac /drivers/net/wireless | |
parent | aeca78b9b094d00cccca39e9a1055c74ad83ea69 (diff) |
ath5k: 5211, don't crypt every protected frame
Set null key type even on ar5211, otherwise it en/decrypts every frame with
protected bit set which renders the card unusable on encrypted networks.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Cc: Bob Copeland <me@bobcopeland.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/pcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c index 55122f1e1986..5f07e876d4bd 100644 --- a/drivers/net/wireless/ath/ath5k/pcu.c +++ b/drivers/net/wireless/ath/ath5k/pcu.c | |||
@@ -1003,7 +1003,7 @@ int ath5k_hw_reset_key(struct ath5k_hw *ah, u16 entry) | |||
1003 | * Note2: Windows driver (ndiswrapper) sets this to | 1003 | * Note2: Windows driver (ndiswrapper) sets this to |
1004 | * 0x00000714 instead of 0x00000007 | 1004 | * 0x00000714 instead of 0x00000007 |
1005 | */ | 1005 | */ |
1006 | if (ah->ah_version > AR5K_AR5211) { | 1006 | if (ah->ah_version >= AR5K_AR5211) { |
1007 | ath5k_hw_reg_write(ah, AR5K_KEYTABLE_TYPE_NULL, | 1007 | ath5k_hw_reg_write(ah, AR5K_KEYTABLE_TYPE_NULL, |
1008 | AR5K_KEYTABLE_TYPE(entry)); | 1008 | AR5K_KEYTABLE_TYPE(entry)); |
1009 | 1009 | ||