summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-07-14 12:15:20 +0000
committeradrian <adrian@FreeBSD.org>2012-07-14 12:15:20 +0000
commitf9866864606d10b02b48047c44cc0d5d87003625 (patch)
treeb8890ceb44cefb13bef47f49d40ad3bafa13c723
parentb0fedc4f6d3b8519b6e7bf714672448be546187c (diff)
downloadFreeBSD-src-f9866864606d10b02b48047c44cc0d5d87003625.zip
FreeBSD-src-f9866864606d10b02b48047c44cc0d5d87003625.tar.gz
Fix build breakage when one isn't building with IEEE80211_SUPPORT_SUPERG.
Noticed by: mav
-rw-r--r--sys/dev/ath/if_ath_rx_edma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_rx_edma.c b/sys/dev/ath/if_ath_rx_edma.c
index 89850dc..068d9b9 100644
--- a/sys/dev/ath/if_ath_rx_edma.c
+++ b/sys/dev/ath/if_ath_rx_edma.c
@@ -447,7 +447,9 @@ ath_edma_recv_tasklet(void *arg, int npending)
{
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__,
OpenPOWER on IntegriCloud