From: Pavel Roskin Date: Wed, 7 Apr 2010 05:33:33 +0000 (-0400) Subject: ath9k: simplify AR9220 fixup code for AR_AN_TOP2 register X-Git-Tag: v2.6.35-rc1~473^2~460^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eb46d9bda44b3f85727fee6865d9b25725e6bf9;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed