svn commit: r221019 - head/sys/dev/ath/ath_hal
Adrian Chadd
adrian at FreeBSD.org
Mon Apr 25 15:51:49 UTC 2011
Author: adrian
Date: Mon Apr 25 15:51:49 2011
New Revision: 221019
URL: http://svn.freebsd.org/changeset/base/221019
Log:
Wrap the MIMO stuff in #ifdef AH_SUPPORT_AR5416, as the channel
state doesn't have MIMO stuff in it by default.
Modified:
head/sys/dev/ath/ath_hal/ah.c
Modified: head/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.c Mon Apr 25 14:51:08 2011 (r221018)
+++ head/sys/dev/ath/ath_hal/ah.c Mon Apr 25 15:51:49 2011 (r221019)
@@ -906,6 +906,7 @@ ath_hal_get_mimo_chan_noise(struct ath_h
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_h
}
return 1;
}
+#else
+ return 0;
+#endif /* AH_SUPPORT_AR5416 */
}
/*
More information about the svn-src-all
mailing list