[ath] don't debug RX EDMA descriptors that are not yet complete.
Approved by: re@ (gjb)
This commit is contained in:
parent
bc2abcfdef
commit
b819e1ed19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301994
@ -427,6 +427,8 @@ ath_edma_recv_proc_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype,
|
||||
rs = &bf->bf_status.ds_rxstat;
|
||||
bf->bf_rxstatus = ath_hal_rxprocdesc(ah, ds, bf->bf_daddr,
|
||||
NULL, rs);
|
||||
if (bf->bf_rxstatus == HAL_EINPROGRESS)
|
||||
break;
|
||||
#ifdef ATH_DEBUG
|
||||
if (sc->sc_debug & ATH_DEBUG_RECV_DESC)
|
||||
ath_printrxbuf(sc, bf, 0, bf->bf_rxstatus == HAL_OK);
|
||||
@ -436,8 +438,6 @@ ath_edma_recv_proc_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype,
|
||||
if_ath_alq_post(&sc->sc_alq, ATH_ALQ_EDMA_RXSTATUS,
|
||||
sc->sc_rx_statuslen, (char *) ds);
|
||||
#endif /* ATH_DEBUG */
|
||||
if (bf->bf_rxstatus == HAL_EINPROGRESS)
|
||||
break;
|
||||
|
||||
/*
|
||||
* Completed descriptor.
|
||||
|
Loading…
Reference in New Issue
Block a user