summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2017-12-12 15:50:40 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2017-12-12 15:50:40 +0000
commit541a2e575d94ac3d5313fbee8ce43d288686d7b4 (patch)
treef7ea7a4e44784f0b35549bf49fcbf96035457ee2 /sys/net80211
parent4995425ce140a4c14e26a481f8b74a96a494e529 (diff)
Make IEEE80211_CHAN_ANYC be a NULL pointer instead of a pointer to 0xffff.
Should speed up debugging. ok phessler patrick
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 51c3c56cbf0..69986415717 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_var.h,v 1.82 2017/12/08 21:16:01 stsp Exp $ */
+/* $OpenBSD: ieee80211_var.h,v 1.83 2017/12/12 15:50:39 stsp Exp $ */
/* $NetBSD: ieee80211_var.h,v 1.7 2004/05/06 03:07:10 dyoung Exp $ */
/*-
@@ -52,7 +52,7 @@
#define IEEE80211_CHAN_MAX 255
#define IEEE80211_CHAN_ANY 0xffff /* token for ``any channel'' */
#define IEEE80211_CHAN_ANYC \
- ((struct ieee80211_channel *) IEEE80211_CHAN_ANY)
+ ((struct ieee80211_channel *) NULL)
#define IEEE80211_TXPOWER_MAX 100 /* max power */
#define IEEE80211_TXPOWER_MIN -50 /* kill radio (if possible) */