kern/163318: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Fri Mar 2 03:20:12 UTC 2012
The following reply was made to PR kern/163318; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-wireless
mailing list