Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 17:42:57 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r187550 - user/thompsa/vaptq/sys/net80211
Message-ID:  <200901211742.n0LHgv4X085364@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Wed Jan 21 17:42:57 2009
New Revision: 187550
URL: http://svn.freebsd.org/changeset/base/187550

Log:
  Fix WITNESS_NORELEASE macro name.

Modified:
  user/thompsa/vaptq/sys/net80211/ieee80211_proto.c

Modified: user/thompsa/vaptq/sys/net80211/ieee80211_proto.c
==============================================================================
--- user/thompsa/vaptq/sys/net80211/ieee80211_proto.c	Wed Jan 21 17:40:37 2009	(r187549)
+++ user/thompsa/vaptq/sys/net80211/ieee80211_proto.c	Wed Jan 21 17:42:57 2009	(r187550)
@@ -1762,9 +1762,9 @@ ieee80211_new_state_locked(struct ieee80
 		 * Complete the state transition synchronously, asserting that
 		 * the lock is not dropped.
 		 */
-		WITNESS_NOREL(IEEE80211_LOCK_OBJ(ic));
+		WITNESS_NORELEASE(IEEE80211_LOCK_OBJ(ic));
 		rc = ieee80211_newstate_cb_locked(vap, nstate, arg);
-		WITNESS_RELOK(IEEE80211_LOCK_OBJ(ic));
+		WITNESS_RELEASEOK(IEEE80211_LOCK_OBJ(ic));
 	} else {
 		/* defer the state change to a thread */
 		vap->iv_nstate = nstate;



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