diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2011-03-25 10:53:13 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2011-03-25 10:53:13 +0000 |
| commit | 75f0fbfbbfceb1857d22ab433961966f003a628a (patch) | |
| tree | a5d5dbf51d2b850f9b192b9aea75c0a2fbe65be3 | |
| parent | 46873d15b130b7b9097ab5c6d9564dfc88d87f94 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_cal.c | 10 |
1 files 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 ce1d0c1ca860..46e56c9bcb4b 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; } |
