Skip to contentSkip to conversation

only show the WAN submenu if WAN is selected

PATCH New Tomas Szepe 1 participant 1 message Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 only show the WAN submenu if WAN is selected

Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.

Only show the WAN submenu if the WAN entry is selected.

Signature · 27 lines
Tomas Szepe <[email protected]>

diff -urN a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig
--- a/drivers/net/wan/Kconfig	2002-10-31 02:33:49.000000000 +0100
+++ b/drivers/net/wan/Kconfig	2003-01-01 15:33:21.000000000 +0100
@@ -2,10 +2,8 @@
 # wan devices configuration
 #
 
-menu "Wan interfaces"
-	depends on NETDEVICES
-
 config WAN
+	depends on NETDEVICES
 	bool "Wan interfaces support"
 	---help---
 	  Wide Area Networks (WANs), such as X.25, frame relay and leased
@@ -22,6 +20,9 @@
 
 	  If unsure, say N.
 
+menu "Wan interfaces"
+	depends on WAN
+
 # There is no way to detect a comtrol sv11 - force it modular for now.
 config HOSTESS_SV11
 	tristate "Comtrol Hostess SV-11 support"