I broke periodic adc calibrations - so restore them to working order.

This commit is contained in:
Adrian Chadd 2011-03-25 10:53:13 +00:00
parent 46873d15b1
commit 75f0fbfbbf

View file

@ -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;
}