Skip to contentSkip to conversation

WIRELESS: Make wireless one-click selectable.

PATCH New Robert P. J. Day 1 participant 1 message Jul 24, 2008 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 WIRELESS: Make wireless one-click selectable.

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

---

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

net/Kconfig +6 -2
index b986687..d05029b 100644
@@ -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
========================================================================