ath5k: fix the EEPROM check for hw AES crypto support
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Apr 2011 19:56:45 +0000 (21:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Apr 2011 19:35:09 +0000 (15:35 -0400)
commit32377b6cf75247cbdd0640efb43bef992efe3b68
treefc6bb6fe1aa528afdd6ff583eb4c22fb2bfb80f5
parentfa9bfd61e03e8dbcf110a93b373234d17a732233
ath5k: fix the EEPROM check for hw AES crypto support

EEPROM version 5.0 adds a new field for disabling AES support, having
an older version means that AES is present. This patch fixes hw AES
crypto support on AR5312 boards, which have an older EEPROM version.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/attach.c