summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2011-11-30 21:01:31 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-11-30 15:09:01 -0500
commit6fea593d9c0e3ad8014c4080e95cb93e42c8915c (patch)
tree63d9e9297b2d193d71e259d26e6866141e885f78 /drivers/net
parent85eb28a36215b3d872384e027403b14ff483d60b (diff)
downloadlinux-stable-6fea593d9c0e3ad8014c4080e95cb93e42c8915c.tar.gz
linux-stable-6fea593d9c0e3ad8014c4080e95cb93e42c8915c.tar.bz2
linux-stable-6fea593d9c0e3ad8014c4080e95cb93e42c8915c.zip
ath9k_hw: Fix TX IQ calibration for AR9003
only for AR9485 (or) later chipsets TxIQ calibration runs as part of AGC calibration. without this patch TX IQ cal completion i.e. ar9003_hw_tx_iq_cal_run won't be executed for AR9003 Reviewed-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 5abe682f2513..5aa75c33d4a2 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -2497,7 +2497,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
if (AR_SREV_9300_20_OR_LATER(ah)) {
ah->enabled_cals |= TX_IQ_CAL;
- if (!AR_SREV_9330(ah))
+ if (AR_SREV_9485_OR_LATER(ah))
ah->enabled_cals |= TX_IQ_ON_AGC_CAL;
}
if (AR_SREV_9462(ah))