Return-path: Received: from nbd.name ([46.4.11.11]:53664 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887Ab1GEDLn (ORCPT ); Mon, 4 Jul 2011 23:11:43 -0400 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: linville@tuxdriver.com, ath5k-devel@lists.ath5k.org, mickflemm@gmail.com Subject: [PATCH v2 3/8] ath5k: fix reference clock frequency for spur mitigation on AR2413 Date: Tue, 5 Jul 2011 10:11:19 +0700 Message-Id: <1309835484-26653-3-git-send-email-nbd@openwrt.org> (sfid-20110705_051155_466320_B9E89D25) In-Reply-To: <1309835484-26653-2-git-send-email-nbd@openwrt.org> References: <1309835484-26653-1-git-send-email-nbd@openwrt.org> <1309835484-26653-2-git-send-email-nbd@openwrt.org> Sender: linux-wireless-owner@vger.kernel.org List-ID: AR2413 uses the same reference clock as AR5413 Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/phy.c | 1 + 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 a28ef9e..b6085d0 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 -- 1.7.3.2