diff options
author | adrian <adrian@FreeBSD.org> | 2012-07-14 12:15:20 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-07-14 12:15:20 +0000 |
commit | f9866864606d10b02b48047c44cc0d5d87003625 (patch) | |
tree | b8890ceb44cefb13bef47f49d40ad3bafa13c723 | |
parent | b0fedc4f6d3b8519b6e7bf714672448be546187c (diff) | |
download | FreeBSD-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.c | 2 |
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__, |