Use a "menuconfig" Kconfig directive to allow wireless support to be
one-click deselectable.
Signed-off-by: Robert P. J. Day <[email protected]>
---
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
========================================================================
On Thu, 24 Jul 2008, Stefanik G?bor wrote:
...
> This should default to Enabled.
good point, fix coming shortly.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
On Thu, Jul 24, 2008 at 6:03 PM, Robert P. J. Day <[email protected]> wrote:
>
> Use a "menuconfig" Kconfig directive to allow wireless support to be
> one-click deselectable.
>
> Signed-off-by: Robert P. J. Day <[email protected]>
>
> ---
>
> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
This should default to Enabled.
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)