Author: adrian
Date: Fri Mar  9 22:41:09 2012
New Revision: 232752
URL: http://svn.freebsd.org/changeset/base/232752

Log:
  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.

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c   Fri Mar  9 22:30:54 2012        (r232751)
+++ head/sys/dev/ath/if_ath.c   Fri Mar  9 22:41:09 2012        (r232752)
@@ -3059,7 +3059,9 @@ ath_beacon_generate(struct ath_softc *sc
         */
        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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to