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

Adrian Chadd adrian at FreeBSD.org
Wed Aug 31 09:15:52 UTC 2011


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__);


More information about the svn-src-user mailing list