From owner-svn-src-head@FreeBSD.ORG Fri Mar 9 22:41:10 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46EEC1065674; Fri, 9 Mar 2012 22:41:10 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 31DAD8FC14; Fri, 9 Mar 2012 22:41:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q29MfAZs028347; Fri, 9 Mar 2012 22:41:10 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q29Mf9V1028345; Fri, 9 Mar 2012 22:41:09 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201203092241.q29Mf9V1028345@svn.freebsd.org> From: Adrian Chadd Date: Fri, 9 Mar 2012 22:41:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r232752 - head/sys/dev/ath X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 22:41:10 -0000 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);