浏览代码

WIRELESS: Make wireless one-click selectable.

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

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Robert P. J. Day 17 年之前
父节点
当前提交
5442060c08
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      net/Kconfig

+ 6 - 2
net/Kconfig

@@ -236,14 +236,18 @@ source "net/rxrpc/Kconfig"
 config FIB_RULES
 config FIB_RULES
 	bool
 	bool
 
 
-menu "Wireless"
+menuconfig WIRELESS
+	bool "Wireless"
 	depends on !S390
 	depends on !S390
+	default y
+
+if WIRELESS
 
 
 source "net/wireless/Kconfig"
 source "net/wireless/Kconfig"
 source "net/mac80211/Kconfig"
 source "net/mac80211/Kconfig"
 source "net/ieee80211/Kconfig"
 source "net/ieee80211/Kconfig"
 
 
-endmenu
+endif # WIRELESS
 
 
 source "net/rfkill/Kconfig"
 source "net/rfkill/Kconfig"
 source "net/9p/Kconfig"
 source "net/9p/Kconfig"