svn commit: r245739 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Mon Jan 21 07:50:38 UTC 2013


Author: adrian
Date: Mon Jan 21 07:50:38 2013
New Revision: 245739
URL: http://svnweb.freebsd.org/changeset/base/245739

Log:
  Fix this routine to acutally break out and not set clrdmask if any
  of the TIDs are currently marked as "filtered."

Modified:
  head/sys/dev/ath/if_ath_tx.c

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Mon Jan 21 07:45:25 2013	(r245738)
+++ head/sys/dev/ath/if_ath_tx.c	Mon Jan 21 07:50:38 2013	(r245739)
@@ -2906,7 +2906,7 @@ ath_tx_set_clrdmask(struct ath_softc *sc
 
 	for (i = 0; i < IEEE80211_TID_SIZE; i++) {
 		if (an->an_tid[i].isfiltered == 1)
-			break;
+			return;
 	}
 	an->clrdmask = 1;
 }


More information about the svn-src-all mailing list