From: Felix Fietkau Date: Tue, 12 Jul 2011 01:02:00 +0000 (+0800) Subject: ath5k: fix reference clock frequency for spur mitigation on AR2413 X-Git-Tag: v3.1-rc1~24^2~10^2^2~137 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=2d2cf471d51743c631f216f62a02a62b58126191;p=cascardo%2Flinux.git ath5k: fix reference clock frequency for spur mitigation on AR2413 AR2413 uses the same reference clock as AR5413 Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- 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, if ((ah->ah_radio == AR5K_RF5112) || (ah->ah_radio == AR5K_RF5413) || + (ah->ah_radio == AR5K_RF2413) || (ah->ah_mac_version == (AR5K_SREV_AR2417 >> 4))) refclk_freq = 40; else