svn commit: r238449 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sat Jul 14 12:15:21 UTC 2012
Author: adrian
Date: Sat Jul 14 12:15:20 2012
New Revision: 238449
URL: http://svn.freebsd.org/changeset/base/238449
Log:
Fix build breakage when one isn't building with IEEE80211_SUPPORT_SUPERG.
Noticed by: mav
Modified:
head/sys/dev/ath/if_ath_rx_edma.c
Modified: head/sys/dev/ath/if_ath_rx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx_edma.c Sat Jul 14 10:17:47 2012 (r238448)
+++ head/sys/dev/ath/if_ath_rx_edma.c Sat Jul 14 12:15:20 2012 (r238449)
@@ -447,7 +447,9 @@ ath_edma_recv_tasklet(void *arg, int npe
{
struct ath_softc *sc = (struct ath_softc *) arg;
struct ifnet *ifp = sc->sc_ifp;
+#ifdef IEEE80211_SUPPORT_SUPERG
struct ieee80211com *ic = ifp->if_l2com;
+#endif
DPRINTF(sc, ATH_DEBUG_EDMA_RX, "%s: called; npending=%d\n",
__func__,
More information about the svn-src-head
mailing list