ath9k: fix eeprom INI values override for 2GHz-only cards
authorFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2010 19:04:18 +0000 (20:04 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Jan 2010 21:17:26 +0000 (16:17 -0500)
commitaa8bc9ef18a2c5b2b97e1f36ee9604cf15743f96
treede5f4fd3da38b2a7a856e573f15559ea8a1acb81
parent0b5d9b2689af0f59aeba67dc749b3681290d2166
ath9k: fix eeprom INI values override for 2GHz-only cards

Among other changes, this commit:

   commit 06d0f0663e11cab4ec5f2c143a118d71a12fbbe9
   Author: Sujith <Sujith.Manoharan@atheros.com>
   Date:   Thu Feb 12 10:06:45 2009 +0530

   ath9k: Enable Fractional N mode

changed the hw attach code to fix up initialization values only for
dual band devices, however the commit message did not give a reason as
to why this would be useful or necessary.

According to tests by Jorge Boncompte, this breaks at least some
2GHz-only cards, so the code should be changed back to the
unconditional INI fixup.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Jorge Boncompte <jorge@dti2.net>
Cc: stable@kernel.org
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c