summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2007-06-07 20:24:42 +0000
committerdamien <damien@openbsd.org>2007-06-07 20:24:42 +0000
commit5d155c7ee02f731b7c0ec4f8b80e3aed8df21e22 (patch)
tree69e1a4ab7f900ce238b263abb6aaf42811edc842 /sys/net80211/ieee80211_node.h
parentmove ieee80211_compute_duration() and ieee80211_compute_duration1() (diff)
downloadwireguard-openbsd-5d155c7ee02f731b7c0ec4f8b80e3aed8df21e22.tar.xz
wireguard-openbsd-5d155c7ee02f731b7c0ec4f8b80e3aed8df21e22.zip
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