From owner-p4-projects@FreeBSD.ORG Thu Jan 20 01:18:21 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DEE8316A4DC; Thu, 20 Jan 2005 01:18:20 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4742216A4E8 for ; Thu, 20 Jan 2005 01:18:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3289F43D1F for ; Thu, 20 Jan 2005 01:18:20 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0K1IKbQ013589 for ; Thu, 20 Jan 2005 01:18:20 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0K1IJI1013585 for perforce@freebsd.org; Thu, 20 Jan 2005 01:18:19 GMT (envelope-from sam@freebsd.org) Date: Thu, 20 Jan 2005 01:18:19 GMT Message-Id: <200501200118.j0K1IJI1013585@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 69341 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 01:18:21 -0000 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);