Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 16:13:28 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 145376 for review
Message-ID:  <200807171613.m6HGDSVQ084936@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145376

Change 145376 by sam@sam_ebb on 2008/07/17 16:12:47

	add missing locking for htinfo update

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ht.c#25 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ht.c#25 (text+ko) ====

@@ -1074,6 +1074,7 @@
 	    OPMODE(protmode) == IEEE80211_HTINFO_OPMODE_PROTOPT)
 		return;
 
+	IEEE80211_LOCK(ic);
 	/* track non-HT station presence */
 	KASSERT(protmode & IEEE80211_HTINFO_NONHT_PRESENT,
 	    ("missing NONHT_PRESENT"));
@@ -1083,6 +1084,7 @@
 	/* push beacon update */
 	ic->ic_curhtprotmode = protmode;
 	htinfo_notify(ic);
+	IEEE80211_UNLOCK(ic);
 #undef OPMODE
 }
 



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