Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 07:50:38 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245739 - head/sys/dev/ath
Message-ID:  <201301210750.r0L7ocAn014399@svn.freebsd.org>

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



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