Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2008 17:11:53 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149331 for review
Message-ID:  <200809061711.m86HBrSB023972@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149331

Change 149331 by sam@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809061711.m86HBrSB023972>