summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-06-22 20:51:01 +0000
committermillert <millert@openbsd.org>2004-06-22 20:51:01 +0000
commite9a8d6fd3741ff53b079b53cfa4631488ab8dd16 (patch)
tree10ef43bb90609e9ba375506010dca86c91a597a0
parentRemove the CNF_ from WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUST (diff)
downloadwireguard-openbsd-e9a8d6fd3741ff53b079b53cfa4631488ab8dd16.tar.xz
wireguard-openbsd-e9a8d6fd3741ff53b079b53cfa4631488ab8dd16.zip
Use SIOCSIFGENERIC and SIOCGIFGENERIC for SIOCSWAVELAN and SIOCGWAVELAN
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming 802.11 framework. OK deraadt@
-rw-r--r--sys/dev/ic/if_wi_ieee.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/if_wi_ieee.h b/sys/dev/ic/if_wi_ieee.h
index e1181f4dd97..ba194905e84 100644
--- a/sys/dev/ic/if_wi_ieee.h
+++ b/sys/dev/ic/if_wi_ieee.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_ieee.h,v 1.23 2004/06/22 20:48:00 millert Exp $ */
+/* $OpenBSD: if_wi_ieee.h,v 1.24 2004/06/22 20:51:01 millert Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -46,19 +46,11 @@
*/
#ifndef SIOCSWAVELAN
-#ifdef __FreeBSD__
#define SIOCSWAVELAN SIOCSIFGENERIC
-#else /* !__FreeBSD__ */
-#define SIOCSWAVELAN SIOCSIFASYNCMAP
-#endif /* __FreeBSD__ */
#endif
#ifndef SIOCGWAVELAN
-#ifdef __FreeBSD__
#define SIOCGWAVELAN SIOCGIFGENERIC
-#else /* !__FreeBSD__ */
-#define SIOCGWAVELAN SIOCGIFASYNCMAP
-#endif /* __FreeBSD__ */
#endif
/*