From owner-svn-src-user@FreeBSD.ORG Sun Sep 18 15:11:54 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 683E7106566B; Sun, 18 Sep 2011 15:11:54 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 585D38FC13; Sun, 18 Sep 2011 15:11:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p8IFBsHp038832; Sun, 18 Sep 2011 15:11:54 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p8IFBsfH038830; Sun, 18 Sep 2011 15:11:54 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201109181511.p8IFBsfH038830@svn.freebsd.org> From: Adrian Chadd Date: Sun, 18 Sep 2011 15:11:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225653 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 15:11:54 -0000 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