aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-11 21:02:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-13 14:49:37 -0400
commit2d2cf471d51743c631f216f62a02a62b58126191 (patch)
tree5463f8930ea095a207433b71f4b3ec30fa2c9bfd
parentca8bfd94bbe5bd89ff6a4bbf5a050251950cce25 (diff)
ath5k: fix reference clock frequency for spur mitigation on AR2413
AR2413 uses the same reference clock as AR5413 Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index acf73a042118..dd2b417729ba 100644
--- a/drivers/net/wireless/ath/ath5k/phy.c
+++ b/drivers/net/wireless/ath/ath5k/phy.c
@@ -105,6 +105,7 @@ bool ath5k_hw_chan_has_spur_noise(struct ath5k_hw *ah,
105 105
106 if ((ah->ah_radio == AR5K_RF5112) || 106 if ((ah->ah_radio == AR5K_RF5112) ||
107 (ah->ah_radio == AR5K_RF5413) || 107 (ah->ah_radio == AR5K_RF5413) ||
108 (ah->ah_radio == AR5K_RF2413) ||
108 (ah->ah_mac_version == (AR5K_SREV_AR2417 >> 4))) 109 (ah->ah_mac_version == (AR5K_SREV_AR2417 >> 4)))
109 refclk_freq = 40; 110 refclk_freq = 40;
110 else 111 else