1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 07:51:55 +02:00
openwrt-xburst/package/mac80211/patches/474-ath5k_fix_aes_crypto_support.patch
nbd 2034dff22b mac80211: merge latest changes from trunk, fixes #9227
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:19:06 +00:00

12 lines
452 B
Diff

--- 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;