summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-01-21 07:50:38 +0000
committeradrian <adrian@FreeBSD.org>2013-01-21 07:50:38 +0000
commit7a0ff694d265895eebd08e83b5454645938c4328 (patch)
tree2b7da35fe9e3c53bb167296aeb034343926fc356
parentd7f656bdeb383cd90086fb885baa7205ae16aaf1 (diff)
downloadFreeBSD-src-7a0ff694d265895eebd08e83b5454645938c4328.zip
FreeBSD-src-7a0ff694d265895eebd08e83b5454645938c4328.tar.gz
Fix this routine to acutally break out and not set clrdmask if any
of the TIDs are currently marked as "filtered."
-rw-r--r--sys/dev/ath/if_ath_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index 2dde143..ad12fad 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;
}
OpenPOWER on IntegriCloud