Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2008 21:59:07 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184303 - head/sys/net80211
Message-ID:  <200810262159.m9QLx7J3097162@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Sun Oct 26 21:59:07 2008
New Revision: 184303
URL: http://svn.freebsd.org/changeset/base/184303

Log:
  o re-enable a lock assert
  o while here reformat a comment to sync w/ other repot's

Modified:
  head/sys/net80211/ieee80211_node.c

Modified: head/sys/net80211/ieee80211_node.c
==============================================================================
--- head/sys/net80211/ieee80211_node.c	Sun Oct 26 21:56:27 2008	(r184302)
+++ head/sys/net80211/ieee80211_node.c	Sun Oct 26 21:59:07 2008	(r184303)
@@ -598,8 +598,8 @@ gethtadjustflags(struct ieee80211com *ic
 
 /*
  * Check if the current channel needs to change based on whether
- * any vap's are using HT20/HT40.  This is used sync the state of
- * ic_curchan after a channel width change on a running vap.
+ * any vap's are using HT20/HT40.  This is used to sync the state
+ * of ic_curchan after a channel width change on a running vap.
  */
 void
 ieee80211_sync_curchan(struct ieee80211com *ic)
@@ -952,9 +952,9 @@ static void
 node_age(struct ieee80211_node *ni)
 {
 	struct ieee80211vap *vap = ni->ni_vap;
-#if 0
-	IEEE80211_NODE_LOCK_ASSERT(&ic->ic_sta);
-#endif
+
+	IEEE80211_NODE_LOCK_ASSERT(&vap->iv_ic->ic_sta);
+
 	/*
 	 * Age frames on the power save queue.
 	 */



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