From fe40fdbb98aa91c5ab48d164dca408a7fc922db2 Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 9 Mar 2012 22:41:09 +0000 Subject: 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. --- sys/dev/ath/if_ath.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/ath/if_ath.c') 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); -- cgit v1.1