diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2011-01-14 15:12:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-19 11:36:10 -0500 |
commit | a4d6e17d3ee0f9d12474b1692f7a0574f1aab53c (patch) | |
tree | 36d50a8c88e1a361be1332a368bdfe8c529cea69 /drivers/net/wireless/ath | |
parent | 4e3ae3873858f1e64afb19975360000bee15b502 (diff) |
ath9k_hw: fix carrier leakage calibration for AR9271
AR9285 carrier leakage calibration related workaround on high
temperature is not applicable for AR9271.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_calib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_calib.c b/drivers/net/wireless/ath/ath9k/ar9002_calib.c index ea2e7d714bda..14d7d2a68ec5 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_calib.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_calib.c | |||
@@ -805,7 +805,10 @@ static bool ar9002_hw_init_cal(struct ath_hw *ah, struct ath9k_channel *chan) | |||
805 | { | 805 | { |
806 | struct ath_common *common = ath9k_hw_common(ah); | 806 | struct ath_common *common = ath9k_hw_common(ah); |
807 | 807 | ||
808 | if (AR_SREV_9271(ah) || AR_SREV_9285_12_OR_LATER(ah)) { | 808 | if (AR_SREV_9271(ah)) { |
809 | if (!ar9285_hw_cl_cal(ah, chan)) | ||
810 | return false; | ||
811 | } else if (AR_SREV_9285_12_OR_LATER(ah)) { | ||
809 | if (!ar9285_hw_clc(ah, chan)) | 812 | if (!ar9285_hw_clc(ah, chan)) |
810 | return false; | 813 | return false; |
811 | } else { | 814 | } else { |