svn commit: r240333 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Tue Sep 11 04:11:43 UTC 2012


Author: adrian
Date: Tue Sep 11 04:11:42 2012
New Revision: 240333
URL: http://svn.freebsd.org/changeset/base/240333

Log:
  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'.

Modified:
  head/sys/dev/ath/if_ath_tx.c

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Tue Sep 11 03:02:40 2012	(r240332)
+++ head/sys/dev/ath/if_ath_tx.c	Tue Sep 11 04:11:42 2012	(r240333)
@@ -380,7 +380,7 @@ ath_tx_chaindesclist(struct ath_softc *s
 
 		/* 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


More information about the svn-src-all mailing list