summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2008-09-08 13:13:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2008-09-08 13:13:02 +0000
commitcbe8946c07906930df0cbbfd25abf52aefd71dbf (patch)
tree07b9266833fbbf132df0ac712a56f557e68555b8
parent40cfcb6fc68385c316f7ab801459aa5e2753bf6b (diff)
define IEEE80211_STA_ONLY if SMALL_KERNEL is defined to shrink
the size of install media. ok damien@ deraadt@
-rw-r--r--sys/net80211/ieee80211_var.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 2bc9faef21c..b5a7de31267 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_var.h,v 1.52 2008/09/01 19:55:21 damien Exp $ */
+/* $OpenBSD: ieee80211_var.h,v 1.53 2008/09/08 13:13:01 jsg Exp $ */
/* $NetBSD: ieee80211_var.h,v 1.7 2004/05/06 03:07:10 dyoung Exp $ */
/*-
@@ -37,6 +37,10 @@
* Definitions for IEEE 802.11 drivers.
*/
+#ifdef SMALL_KERNEL
+#define IEEE80211_STA_ONLY 1
+#endif
+
#include <sys/timeout.h>
#include <net80211/ieee80211.h>