From c51b2398986183a73413cb4253b9668894a981db Mon Sep 17 00:00:00 2001 From: Gerhard Roth Date: Tue, 6 Oct 2020 07:23:16 +0000 Subject: The command value of the _IOC() macro is limited to values [0..255]. This change results in no binary change, it just makes things more clear. OK deraadt --- sys/net80211/ieee80211_ioctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h index 98c08a621b1..20647ca5ee9 100644 --- a/sys/net80211/ieee80211_ioctl.h +++ b/sys/net80211/ieee80211_ioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_ioctl.h,v 1.40 2020/04/29 13:13:30 stsp Exp $ */ +/* $OpenBSD: ieee80211_ioctl.h,v 1.41 2020/10/06 07:23:15 gerhard Exp $ */ /* $NetBSD: ieee80211_ioctl.h,v 1.7 2004/04/30 22:51:04 dyoung Exp $ */ /*- @@ -277,7 +277,7 @@ struct ieee80211_keyrun { #define SIOCG80211JOINALL _IOWR('i', 218, struct ieee80211_joinreq_all) #define SIOCS80211JOIN _IOWR('i', 255, struct ifreq) -#define SIOCG80211JOIN _IOWR('i', 256, struct ifreq) +#define SIOCG80211JOIN _IOWR('i', 0, struct ifreq) /* join is pointed at by ifr.ifr_data */ struct ieee80211_join { -- cgit v1.2.3