From 75f0fbfbbfceb1857d22ab433961966f003a628a Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 25 Mar 2011 10:53:13 +0000 Subject: [PATCH] I broke periodic adc calibrations - so restore them to working order. --- sys/dev/ath/ath_hal/ar5416/ar5416_cal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c index ce1d0c1ca86..46e56c9bcb4 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c @@ -73,11 +73,11 @@ ar5416IsCalSupp(struct ath_hal *ah, const struct ieee80211_channel *chan, case ADC_GAIN_CAL: case ADC_DC_CAL: /* Run ADC Gain Cal for either 5ghz any or 2ghz HT40 */ - if (IEEE80211_IS_CHAN_2GHZ(chan)) - return AH_FALSE; - if (IEEE80211_IS_CHAN_HT20(chan)) - return AH_FALSE; - return AH_TRUE; + if (IEEE80211_IS_CHAN_5GHZ(chan)) + return AH_TRUE; + if (IEEE80211_IS_CHAN_HT40(chan)) + return AH_TRUE; + return AH_FALSE; } return AH_FALSE; }