From 53e98d5a48eafe088ef6b225d2ddbc0b1796ae84 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Wed, 11 Apr 2012 02:34:32 +0000 Subject: Fix the default, non-superg compile. Pointy-hat-to: adrian --- sys/dev/ath/if_ath.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 00198677d440..c6b1d6537733 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -4906,7 +4906,9 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq, int dosched) struct ath_tx_status *ts; struct ieee80211_node *ni; struct ath_node *an; +#ifdef IEEE80211_SUPPORT_SUPERG struct ieee80211com *ic = sc->sc_ifp->if_l2com; +#endif /* IEEE80211_SUPPORT_SUPERG */ int nacked; HAL_STATUS status; -- cgit v1.2.3