diff options
author | adrian <adrian@FreeBSD.org> | 2012-09-11 04:11:42 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-09-11 04:11:42 +0000 |
commit | 5f9822635b38665b7c457abb0b4d311f56879de5 (patch) | |
tree | b44b012947a548917cb3767d71eb14ffb0324df6 /sys/dev | |
parent | fd6c91a574cae2051644eef6543fab3ce9862134 (diff) | |
download | FreeBSD-src-5f9822635b38665b7c457abb0b4d311f56879de5.zip FreeBSD-src-5f9822635b38665b7c457abb0b4d311f56879de5.tar.gz |
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'.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index 4dbb509..4d524aa 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -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 |