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

Adrian Chadd adrian at FreeBSD.org
Tue Aug 7 00:42:46 UTC 2012


Author: adrian
Date: Tue Aug  7 00:42:46 2012
New Revision: 239120
URL: http://svn.freebsd.org/changeset/base/239120

Log:
  Correct re-initialise the link pointer to be the final descriptor in
  the last buffer.
  
  This fixes traffic stalls that were occuring with stuck beacon events.
  
  PR:		kern/170433

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 Aug  7 00:34:15 2012	(r239119)
+++ head/sys/dev/ath/if_ath_tx.c	Tue Aug  7 00:42:46 2012	(r239120)
@@ -751,7 +751,7 @@ ath_legacy_tx_dma_restart(struct ath_sof
 		return;
 
 	ath_hal_puttxbuf(ah, txq->axq_qnum, bf->bf_daddr);
-	ath_hal_gettxdesclinkptr(ah, bf->bf_lastds, &txq->axq_link);
+	ath_hal_gettxdesclinkptr(ah, bf_last->bf_lastds, &txq->axq_link);
 	ath_hal_txstart(ah, txq->axq_qnum);
 }
 


More information about the svn-src-all mailing list