public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] WIRELESS:  Make wireless immediately deselectable.
@ 2008-07-24 16:03 Robert P. J. Day
  2008-07-24 16:13 ` Stefanik Gábor
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2008-07-24 16:03 UTC (permalink / raw)
  To: linux-wireless


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

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

---

  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
========================================================================

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-24 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 16:03 [PATCH] WIRELESS: Make wireless immediately deselectable Robert P. J. Day
2008-07-24 16:13 ` Stefanik Gábor
2008-07-24 16:13   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox