use ath_hal_gettxintrtxqs so we only process h/w tx

queues that have an interrupt pending

MFC after:	2 weeks
This commit is contained in:
sam 2006-02-15 18:17:53 +00:00
parent 45fecb1f8a
commit bb3f45c5b8

View File

@ -3852,7 +3852,8 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
static __inline int
txqactive(struct ath_hal *ah, int qnum)
{
/* XXX not yet */
u_int32_t txqs = 1<<qnum;
ath_hal_gettxintrtxqs(ah, &txqs);
return 1;
}