Date: Fri, 2 Mar 2012 03:20:12 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-wireless@FreeBSD.org Subject: Re: kern/163318: commit references a PR Message-ID: <201203020320.q223KC0t017841@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/163318; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/163318: commit references a PR Date: Fri, 2 Mar 2012 03:12:06 +0000 (UTC) Author: adrian Date: Fri Mar 2 03:11:53 2012 New Revision: 232375 URL: http://svn.freebsd.org/changeset/base/232375 Log: Wrap another ATH_LOCK around the scanning flag. PR: kern/163318 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 2 02:57:10 2012 (r232374) +++ head/sys/dev/ath/if_ath.c Fri Mar 2 03:11:53 2012 (r232375) @@ -5690,8 +5690,10 @@ ath_set_channel(struct ieee80211com *ic) * beacon timers. Note that since we only hear beacons in * sta/ibss mode this has no effect in other operating modes. */ + ATH_LOCK(sc); if (!sc->sc_scanning && ic->ic_curchan == ic->ic_bsschan) sc->sc_syncbeacon = 1; + ATH_UNLOCK(sc); } /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203020320.q223KC0t017841>