2008-07-24 16:21:24

by Robert P. J. Day

[permalink] [raw]
Subject: [PATCH] WIRELESS: Make wireless one-click selectable.


Use "menuconfig" to make wireless support one-click selectable.

Signed-off-by: Robert P. J. Day <[email protected]>

---

revised from earlier patch so that wireless defaults to "y".

diff --git a/net/Kconfig b/net/Kconfig
index b986687..d05029b 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -239,14 +239,18 @@ source "net/rxrpc/Kconfig"
config FIB_RULES
bool

-menu "Wireless"
+menuconfig WIRELESS
+ bool "Wireless"
depends on !S390
+ default y
+
+if WIRELESS

source "net/wireless/Kconfig"
source "net/mac80211/Kconfig"
source "net/ieee80211/Kconfig"

-endmenu
+endif # WIRELESS

source "net/rfkill/Kconfig"
source "net/9p/Kconfig"

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================