svn commit: r225653 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Sun Sep 18 15:11:54 UTC 2011


Author: adrian
Date: Sun Sep 18 15:11:54 2011
New Revision: 225653
URL: http://svn.freebsd.org/changeset/base/225653

Log:
  Make sure a paused queue gets some frames re-scheduled to the hardware
  once it's unpaused or it'll hang until the next TX'ed frame occurs.
  
  Pointy hat to:	adrian, for removing this call a while back and never
   remembering to restore it.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Sun Sep 18 14:17:15 2011	(r225652)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Sun Sep 18 15:11:54 2011	(r225653)
@@ -2195,6 +2195,8 @@ ath_tx_tid_resume(struct ath_softc *sc, 
 	}
 
 	ath_tx_tid_sched(sc, tid);
+	/* Punt some frames to the hardware if needed */
+	ath_txq_sched(sc, sc->sc_ac2q[tid->ac]);
 }
 
 static void


More information about the svn-src-user mailing list