mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Wrap the MIMO stuff in #ifdef AH_SUPPORT_AR5416, as the channel
state doesn't have MIMO stuff in it by default.
This commit is contained in:
parent
151c163e4d
commit
041df70857
1 changed files with 4 additions and 0 deletions
|
|
@ -906,6 +906,7 @@ ath_hal_get_mimo_chan_noise(struct ath_hal *ah,
|
|||
const struct ieee80211_channel *chan, int16_t *nf_ctl,
|
||||
int16_t *nf_ext)
|
||||
{
|
||||
#ifdef AH_SUPPORT_AR5416
|
||||
HAL_CHANNEL_INTERNAL *ichan;
|
||||
int i;
|
||||
|
||||
|
|
@ -960,6 +961,9 @@ ath_hal_get_mimo_chan_noise(struct ath_hal *ah,
|
|||
}
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
return 0;
|
||||
#endif /* AH_SUPPORT_AR5416 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue