PERFORCE change 69341 for review
Sam Leffler
sam at FreeBSD.org
Wed Jan 19 17:18:21 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=69341
Change 69341 by sam at sam_ebb on 2005/01/20 01:18:06
misc comments+whitespace
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_node.c#47 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_node.c#47 (text+ko) ====
@@ -747,6 +747,7 @@
/*
* Fillin the neighbor table; it will already
* exist if we are simply switching mastership.
+ * XXX ic_sta always setup so this is unnecessary?
*/
nt = &ic->ic_sta;
IEEE80211_NODE_LOCK(nt);
@@ -770,6 +771,7 @@
ic->ic_curmode = ieee80211_chan2mode(ic, selbs->ni_chan);
ieee80211_reset_erp(ic);
ieee80211_wme_initparams(ic);
+
if (ic->ic_opmode == IEEE80211_M_STA)
ieee80211_new_state(ic, IEEE80211_S_AUTH, -1);
else
@@ -1441,7 +1443,7 @@
* completed or by ieee80211_node_leave.
*
* Separately we must drop the node lock before sending
- * in case the driver takes a lock, as this will result
+ * in case the driver takes a lock, as this can result
* in a LOR between the node lock and the driver lock.
*/
IEEE80211_NODE_UNLOCK(nt);
More information about the p4-projects
mailing list