From f74d878fda32359551249d683f7c4f495fb9126e Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 21 Jan 2013 07:50:38 +0000 Subject: [PATCH] Fix this routine to acutally break out and not set clrdmask if any of the TIDs are currently marked as "filtered." --- sys/dev/ath/if_ath_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index 2dde1436855d..ad12fadb9540 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -2906,7 +2906,7 @@ ath_tx_set_clrdmask(struct ath_softc *sc, struct ath_node *an) for (i = 0; i < IEEE80211_TID_SIZE; i++) { if (an->an_tid[i].isfiltered == 1) - break; + return; } an->clrdmask = 1; }