mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
fill in ar5212ResetCalValid; reset the IQ valid flag on the channel
so IQ calibration will be started on the next periodic cal
This commit is contained in:
parent
3b00bfe121
commit
4d5c4f2a67
1 changed files with 10 additions and 1 deletions
|
|
@ -1089,7 +1089,16 @@ ar5212PerCalibration(struct ath_hal *ah, struct ieee80211_channel *chan,
|
|||
HAL_BOOL
|
||||
ar5212ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *chan)
|
||||
{
|
||||
/* XXX */
|
||||
HAL_CHANNEL_INTERNAL *ichan;
|
||||
|
||||
ichan = ath_hal_checkchannel(ah, chan);
|
||||
if (ichan == AH_NULL) {
|
||||
HALDEBUG(ah, HAL_DEBUG_ANY,
|
||||
"%s: invalid channel %u/0x%x; no mapping\n",
|
||||
__func__, chan->ic_freq, chan->ic_flags);
|
||||
return AH_FALSE;
|
||||
}
|
||||
ichan->privFlags &= ~CHANNEL_IQVALID;
|
||||
return AH_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue