diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-11 03:26:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-11 03:26:03 +0000 |
commit | f9710f430415d64e981aacfbb67616d6543959e7 (patch) | |
tree | 73cdc00e0f53772688c9d884b7f46f0ac34af082 /package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch | |
parent | 3caff76cac809ef445c3149fd32dc3dd644ff953 (diff) | |
download | master-187ad058-f9710f430415d64e981aacfbb67616d6543959e7.tar.gz master-187ad058-f9710f430415d64e981aacfbb67616d6543959e7.tar.bz2 master-187ad058-f9710f430415d64e981aacfbb67616d6543959e7.zip |
ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch')
-rw-r--r-- | package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch b/package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch new file mode 100644 index 0000000000..cac679a59d --- /dev/null +++ b/package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/ath/ath5k/attach.c ++++ b/drivers/net/wireless/ath/ath5k/attach.c +@@ -318,7 +318,7 @@ int ath5k_hw_init(struct ath5k_softc *sc + AR5K_KEYTABLE_SIZE_5210 : AR5K_KEYTABLE_SIZE_5211); + + if (srev >= AR5K_SREV_AR5212_V4 && +- (ee->ee_version >= AR5K_EEPROM_VERSION_5_0 && ++ (ee->ee_version < AR5K_EEPROM_VERSION_5_0 || + !AR5K_EEPROM_AES_DIS(ee->ee_misc5))) + common->crypt_caps |= ATH_CRYPT_CAP_CIPHER_AESCCM; + |