From 26bc3fa34d44085310713a4901fe666f111d0ab6 Mon Sep 17 00:00:00 2001 From: stsp Date: Tue, 12 Dec 2017 15:50:39 +0000 Subject: [PATCH] Make IEEE80211_CHAN_ANYC be a NULL pointer instead of a pointer to 0xffff. Should speed up debugging. ok phessler patrick --- sys/net80211/ieee80211_var.h | 4 ++-- 1 file 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) */ -- 2.20.1