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:
Adrian Chadd 2011-04-25 15:51:49 +00:00
parent 151c163e4d
commit 041df70857

View File

@ -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 */
}
/*