From 89bec61e153de9d313e37623924e72f9375e35cf Mon Sep 17 00:00:00 2001 From: Sujith Date: Mon, 13 Apr 2009 21:56:43 +0530 Subject: [PATCH] --- yaml --- r: 149945 b: refs/heads/master c: a451aa66dcb14efcb7addf1d8edcac8df76a97b6 h: refs/heads/master i: 149943: d3198f1182978a69bdfc1a1247d67b7a34932139 v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/ath/ath9k/calib.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f5ff06e0880b..1ce63f8fd90e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: db2f63f60a087ed29ae04310c1076c61f77a5d20 +refs/heads/master: a451aa66dcb14efcb7addf1d8edcac8df76a97b6 diff --git a/trunk/drivers/net/wireless/ath/ath9k/calib.c b/trunk/drivers/net/wireless/ath/ath9k/calib.c index d0b675562d40..3195c0b9a6a7 100644 --- a/trunk/drivers/net/wireless/ath/ath9k/calib.c +++ b/trunk/drivers/net/wireless/ath/ath9k/calib.c @@ -284,8 +284,8 @@ static bool ath9k_hw_iscal_supported(struct ath_hw *ah, return true; case ADC_GAIN_CAL: case ADC_DC_CAL: - if (conf->channel->band == IEEE80211_BAND_5GHZ && - conf_is_ht20(conf)) + if (!(conf->channel->band == IEEE80211_BAND_2GHZ && + conf_is_ht20(conf))) return true; break; }