ath9k_hw: run the carrier leakage calibration fix for ar9271 as well
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / calib.c
index f46bd05df443133e2bf7c26956cb5779b4c08d45..7aa3d1d8ec6f1c2f37ccb5ba5531aa933cad2b35 100644 (file)
@@ -1070,6 +1070,7 @@ bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan,
 }
 EXPORT_SYMBOL(ath9k_hw_calibrate);
 
+/* Carrier leakage Calibration fix */
 static bool ar9285_clc(struct ath_hw *ah, struct ath9k_channel *chan)
 {
        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)
 {
        struct ath_common *common = ath9k_hw_common(ah);
 
-       if (AR_SREV_9285_12_OR_LATER(ah)) {
+       if (AR_SREV_9271(ah) || AR_SREV_9285_12_OR_LATER(ah)) {
                if (!ar9285_clc(ah, chan))
                        return false;
        } else {