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

Adrian Chadd adrian at FreeBSD.org
Tue Mar 26 04:56:55 UTC 2013


Author: adrian
Date: Tue Mar 26 04:56:54 2013
New Revision: 248717
URL: http://svnweb.freebsd.org/changeset/base/248717

Log:
  Remove the mcast path calls to ath_hal_gettxdesclinkptr() for axq_link -
  they're no longer needed for the legacy path and they're not wanted
  for the EDMA path.
  
  Tested:
  
  * AR9280, hostap + CABQ
  * AR9380/AR9580, hostap + CABQ

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

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Tue Mar 26 04:53:40 2013	(r248716)
+++ head/sys/dev/ath/if_ath_tx.c	Tue Mar 26 04:56:54 2013	(r248717)
@@ -720,7 +720,6 @@ ath_tx_handoff_mcast(struct ath_softc *s
 		    bf->bf_daddr);
 	}
 	ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
-	ath_hal_gettxdesclinkptr(sc->sc_ah, bf->bf_lastds, &txq->axq_link);
 	ATH_TXQ_UNLOCK(txq);
 }
 

Modified: head/sys/dev/ath/if_ath_tx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_edma.c	Tue Mar 26 04:53:40 2013	(r248716)
+++ head/sys/dev/ath/if_ath_tx_edma.c	Tue Mar 26 04:56:54 2013	(r248717)
@@ -279,9 +279,7 @@ ath_edma_xmit_handoff_mcast(struct ath_s
 	if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_EDMA_TXDESC))
 		ath_tx_alq_post(sc, bf);
 #endif	/* ATH_DEBUG_ALQ */
-
 	ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
-	ath_hal_gettxdesclinkptr(sc->sc_ah, bf->bf_lastds, &txq->axq_link);
 	ATH_TXQ_UNLOCK(txq);
 }
 


More information about the svn-src-all mailing list