Fix this to compile when ATH_DEBUG_ALQ is defined but ATH_DEBUG isn't.

This commit is contained in:
Adrian Chadd 2013-04-08 21:15:43 +00:00
parent c4bab9e7ae
commit 69cbcb210d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249284

View file

@ -636,7 +636,7 @@ ath_edma_tx_processq(struct ath_softc *sc, int dosched)
break;
}
#ifdef ATH_DEBUG_ALQ
#if defined(ATH_DEBUG_ALQ) && defined(ATH_DEBUG)
if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_EDMA_TXSTATUS))
if_ath_alq_post(&sc->sc_alq, ATH_ALQ_EDMA_TXSTATUS,
sc->sc_tx_statuslen,