Clear the correct descriptor when going through the chained together

gather DMA descriptor list.

Pointy hat to: adrian@, for even USING bf->bf_desc here instead of 'ds'.
This commit is contained in:
Adrian Chadd 2012-09-11 04:11:42 +00:00
parent 9a9e843eae
commit 5d9b19f731

View File

@ -380,7 +380,7 @@ ath_tx_chaindesclist(struct ath_softc *sc, struct ath_buf *bf)
/* Make sure the 11n aggregate fields are cleared */
if (ath_tx_is_11n(sc))
ath_hal_clr11n_aggr(sc->sc_ah, bf->bf_desc);
ath_hal_clr11n_aggr(sc->sc_ah, (struct ath_desc *) ds);
isFirstDesc = 0;
#ifdef ATH_DEBUG