Skip to contentSkip to conversation

only show Wireless LAN submenu if Wireless LAN 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 Wireless LAN submenu if Wireless LAN is selected

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

Only show the Wireless LAN submenu if the Wireless LAN entry is selected.

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

diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
--- a/drivers/net/Kconfig	2003-01-01 14:25:27.000000000 +0100
+++ b/drivers/net/Kconfig	2003-01-01 14:50:59.000000000 +0100
@@ -2141,11 +2141,8 @@
 	  end of the link as well. It's good enough, for example, to run IP
 	  over the async ports of a Camtec JNT Pad. If unsure, say N.
 
-
-menu "Wireless LAN (non-hamradio)"
-	depends on NETDEVICES
-
 config NET_RADIO
+	depends on NETDEVICES
 	bool "Wireless LAN (non-hamradio)"
 	---help---
 	  Support for wireless LANs and everything having to do with radio,
@@ -2168,6 +2165,9 @@
 	  special kernel support are available from
 	  <ftp://shadow.cabi.net/pub/Linux/>.
 
+menu "Wireless LAN (non-hamradio)"
+	depends on NET_RADIO
+
 config STRIP
 	tristate "STRIP (Metricom starmode radio IP)"
 	depends on NET_RADIO && INET