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 */
}
/*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"