Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2011 15:11:54 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r225653 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201109181511.p8IFBsfH038830@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109181511.p8IFBsfH038830>