Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2012 12:15:21 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238449 - head/sys/dev/ath
Message-ID:  <201207141215.q6ECFLeN032320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__,



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