Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2012 22:41:09 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232752 - head/sys/dev/ath
Message-ID:  <201203092241.q29Mf9V1028345@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203092241.q29Mf9V1028345>