diff options
author | Pavel Roskin <proski@gnu.org> | 2010-04-07 01:33:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-08 15:24:12 -0400 |
commit | 2eb46d9bda44b3f85727fee6865d9b25725e6bf9 (patch) | |
tree | 570f07de7cd6ce607a38b186062d972d29a64cd5 /firmware | |
parent | f984d94c500c79048b33ab14923dfcec336d9968 (diff) |
ath9k: simplify AR9220 fixup code for AR_AN_TOP2 register
Don't modify ah->iniModes, it's supposed to be constant. Instead, apply
the fixup when the data is written to the registers.
Change ath9k_hw_init_eeprom_fix() to only determine whether the fixup is
needed.
This allows similteneous support for AR9220 cards that need AR_AN_TOP2
fixup (such as Ubiquiti SR71-12) and those that don't need it (D-Link
DWA-552 rev A2).
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions