summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGerhard Roth <gerhard@cvs.openbsd.org>2020-10-06 07:23:16 +0000
committerGerhard Roth <gerhard@cvs.openbsd.org>2020-10-06 07:23:16 +0000
commitc51b2398986183a73413cb4253b9668894a981db (patch)
tree062331e808f0c0584d0ac704ca16d385cfa23d9c /sys
parent25e80c15924215858e27f66cccde44016b7b2cfd (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211_ioctl.h4
1 files changed, 2 insertions, 2 deletions
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 {