PERFORCE change 149331 for review

Sam Leffler sam at FreeBSD.org
Sat Sep 6 17:11:53 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=149331

Change 149331 by sam at sam_ebb on 2008/09/06 17:11:47

	fix building against a hal that does not have 5416 support

Affected files ...

.. //depot/projects/vap/sys/dev/ath/if_ath.c#91 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/if_ath.c#91 (text+ko) ====

@@ -3917,7 +3917,7 @@
 	rix = rt->rateCodeToIndex[rs->rs_rate];
 	sc->sc_rx_th.wr_rate = sc->sc_hwmap[rix].ieeerate;
 	sc->sc_rx_th.wr_flags = sc->sc_hwmap[rix].rxflags;
-#if HAL_ABI_VERSION >= 0x07050400
+#ifdef AH_SUPPORT_AR5416
 	sc->sc_rx_th.wr_chan_flags &= ~CHAN_HT;
 	if (sc->sc_rx_th.wr_rate & IEEE80211_RATE_MCS) {	/* HT rate */
 		if ((rs->rs_flags & HAL_RX_2040) == 0)


More information about the p4-projects mailing list