ath9k: fix spur mitigation no-spur case for AR9002
authorBrian Prodoehl <bprodoehl@gmail.com>
Sat, 25 Dec 2010 19:34:43 +0000 (14:34 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:35:12 +0000 (14:35 -0500)
commit44cefead807daf96d0f43eb494b1eb5edb5454bf
tree1b6ade8ff5fb31a67e99070db8878f37dfdb3992
parentad9082adfc0a6bdcef1bad2f22485575479d7a9d
ath9k: fix spur mitigation no-spur case for AR9002

For the AR9002, the spur frequency read from the EEPROM is mangled
before being compared against AR_NO_SPUR.  This results in the driver
trying to set up the spur mitigation for bogus spurs, rather than
cleanly breaking out.

Signed-off-by: Brian Prodoehl <bprodoehl@nomadio.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_phy.c