Search Linux Wireless

[PATCH] WIRELESS: Make wireless immediately deselectable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use a "menuconfig" Kconfig directive to allow wireless support to be
one-click deselectable.

Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>

---

  this *looks* like it's a safe enhancement.

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

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

+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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux