Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 09:15:52 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r225289 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201108310915.p7V9Fqex091610@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Aug 31 09:15:52 2011
New Revision: 225289
URL: http://svn.freebsd.org/changeset/base/225289

Log:
  * Add a missing sched call
  * fix a typo

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	Wed Aug 31 09:14:56 2011	(r225288)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Wed Aug 31 09:15:52 2011	(r225289)
@@ -1995,6 +1995,7 @@ ath_tx_xmit_aggr(struct ath_softc *sc, s
 	    (! BAW_WITHIN(tap->txa_start, tap->txa_wnd,
 	    SEQNO(bf->bf_state.bfs_seqno)))) {
 		ATH_TXQ_INSERT_TAIL(tid, bf, bf_list);
+		ath_tx_tid_sched(sc, an, tid);
 		return;
 	}
 
@@ -3016,7 +3017,7 @@ ath_tx_aggr_comp_unaggr(struct ath_softc
 	struct ath_tid *atid = &an->an_tid[tid];
 	struct ath_tx_status *ts = &bf->bf_status.ds_txstat;
 
-	ATH_TXQ_LOCK_ASSERT(sc->sc_ac2q[atid-ac]);
+	ATH_TXQ_LOCK_ASSERT(sc->sc_ac2q[atid->ac]);
 
 	if (tid == IEEE80211_NONQOS_TID)
 		device_printf(sc->sc_dev, "%s: TID=16!\n", __func__);



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