aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c
index d0b675562d40..3195c0b9a6a7 100644
--- a/drivers/net/wireless/ath/ath9k/calib.c
+++ b/drivers/net/wireless/ath/ath9k/calib.c
@@ -284,8 +284,8 @@ static bool ath9k_hw_iscal_supported(struct ath_hw *ah,
284 return true; 284 return true;
285 case ADC_GAIN_CAL: 285 case ADC_GAIN_CAL:
286 case ADC_DC_CAL: 286 case ADC_DC_CAL:
287 if (conf->channel->band == IEEE80211_BAND_5GHZ && 287 if (!(conf->channel->band == IEEE80211_BAND_2GHZ &&
288 conf_is_ht20(conf)) 288 conf_is_ht20(conf)))
289 return true; 289 return true;
290 break; 290 break;
291 } 291 }