summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-03-09 22:41:09 +0000
committeradrian <adrian@FreeBSD.org>2012-03-09 22:41:09 +0000
commitfe40fdbb98aa91c5ab48d164dca408a7fc922db2 (patch)
treea2affeb4e471cb6a689ba089bdf06cace6f7292b /sys/dev/ath/if_ath.c
parentd25fa497f7ba5000bd6ced7ccca372e10c6f7366 (diff)
downloadFreeBSD-src-fe40fdbb98aa91c5ab48d164dca408a7fc922db2.zip
FreeBSD-src-fe40fdbb98aa91c5ab48d164dca408a7fc922db2.tar.gz
Should the mcast queue be locked here? In case more multicast traffic
comes along? This commit was brought to you via an Atheros AR5210, associated to an 3x3 HT40 11na access point. Yes, this driver still works with it.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 21adfa8..bff28ee 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -3059,7 +3059,9 @@ ath_beacon_generate(struct ath_softc *sc, struct ieee80211vap *vap)
*/
bf = avp->av_bcbuf;
m = bf->bf_m;
+ /* XXX lock mcastq? */
nmcastq = avp->av_mcastq.axq_depth;
+
if (ieee80211_beacon_update(bf->bf_node, &avp->av_boff, m, nmcastq)) {
/* XXX too conservative? */
bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap);
OpenPOWER on IntegriCloud