aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/calib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c
index f46bd05df443..7aa3d1d8ec6f 100644
--- a/drivers/net/wireless/ath/ath9k/calib.c
+++ b/drivers/net/wireless/ath/ath9k/calib.c
@@ -1070,6 +1070,7 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan,
1070} 1070}
1071EXPORT_SYMBOL(ath9k_hw_calibrate); 1071EXPORT_SYMBOL(ath9k_hw_calibrate);
1072 1072
1073/* Carrier leakage Calibration fix */
1073static bool ar9285_clc(struct ath_hw *ah, struct ath9k_channel *chan) 1074static bool ar9285_clc(struct ath_hw *ah, struct ath9k_channel *chan)
1074{ 1075{
1075 struct ath_common *common = ath9k_hw_common(ah); 1076 struct ath_common *common = ath9k_hw_common(ah);
@@ -1115,7 +1116,7 @@ bool ath9k_hw_init_cal(struct ath_hw *ah, struct ath9k_channel *chan)
1115{ 1116{
1116 struct ath_common *common = ath9k_hw_common(ah); 1117 struct ath_common *common = ath9k_hw_common(ah);
1117 1118
1118 if (AR_SREV_9285_12_OR_LATER(ah)) { 1119 if (AR_SREV_9271(ah) || AR_SREV_9285_12_OR_LATER(ah)) {
1119 if (!ar9285_clc(ah, chan)) 1120 if (!ar9285_clc(ah, chan))
1120 return false; 1121 return false;
1121 } else { 1122 } else {