From: Felix Fietkau Date: Mon, 11 Apr 2011 03:26:03 +0000 (+0000) Subject: ath5k: fix eeprom capability checks that disabled AES crypto support where it should... X-Git-Tag: reboot~16936 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=092de86b0a7b5df2ba958db95960a4dcdd580565;p=openwrt%2Fstaging%2Fxback.git ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled SVN-Revision: 26586 --- 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; +