summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-06-07 20:24:43 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-06-07 20:24:43 +0000
commit062eae830dfc17889225d8113b0c2eec3696411f (patch)
treeb24e3f0a67f0182aced47d41e9b6b53d5b81f5eb /sys/net80211/ieee80211_node.h
parent2151f4451c5f87978d5c21794dc33a45a8b6b11c (diff)
expand the IEEE80211_NODE_{LOCK,UNLOCK}* macros into their respective
definitions. remove comments about "lock order reversals" that are specific to freebsd. ok reyk@ jsg@ mglocker@
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r--sys/net80211/ieee80211_node.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index ee56cc5a56c..8713fc067b3 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.h,v 1.11 2007/06/06 19:31:07 damien Exp $ */
+/* $OpenBSD: ieee80211_node.h,v 1.12 2007/06/07 20:24:42 damien Exp $ */
/* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */
/*-
@@ -159,15 +159,6 @@ ieee80211_unref_node(struct ieee80211_node **ni)
*ni = NULL; /* guard against use */
}
-typedef int ieee80211_node_lock_t;
-#define IEEE80211_NODE_LOCK_INIT(_ic, _name)
-#define IEEE80211_NODE_LOCK_DESTROY(_ic)
-#define IEEE80211_NODE_LOCK(_ic) (_ic)->ic_nodelock = splnet()
-#define IEEE80211_NODE_UNLOCK(_ic) splx((_ic)->ic_nodelock)
-#define IEEE80211_NODE_LOCK_ASSERT(_ic)
-#define IEEE80211_NODE_LOCK_BH IEEE80211_NODE_LOCK
-#define IEEE80211_NODE_UNLOCK_BH IEEE80211_NODE_UNLOCK
-
struct ieee80211com;
#ifdef MALLOC_DECLARE