mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
I broke periodic adc calibrations - so restore them to working order.
This commit is contained in:
parent
46873d15b1
commit
75f0fbfbbf
1 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue