]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e098c0d47a47a876039ab920c635fc5e1cba7ca
tree1b6ade8ff5fb31a67e99070db8878f37dfdb3992
parent01bbe977767c5314d039b112621c3947ab1276c1
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