Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2005 01:18:19 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 69341 for review
Message-ID:  <200501200118.j0K1IJI1013585@repoman.freebsd.org>

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

Change 69341 by sam@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);



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