svn commit: r187550 - user/thompsa/vaptq/sys/net80211

Andrew Thompson thompsa at FreeBSD.org
Wed Jan 21 09:42:58 PST 2009


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;


More information about the svn-src-user mailing list