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.
This commit is contained in:
Adrian Chadd 2012-03-09 22:41:09 +00:00
parent 85729c2c44
commit 91d92caece

View File

@ -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);