Browse Source

wireless: remove mac80211 rate selection extra menu

We can just display this upon enabling mac80211 with an
'if MAC80211 != n' check.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Luis R. Rodriguez 15 years ago
parent
commit
abd8ea22c2
1 changed files with 2 additions and 3 deletions
  1. 2 3
      net/mac80211/Kconfig

+ 2 - 3
net/mac80211/Kconfig

@@ -13,8 +13,7 @@ config MAC80211
 comment "CFG80211 needs to be enabled for MAC80211"
 comment "CFG80211 needs to be enabled for MAC80211"
 	depends on CFG80211=n
 	depends on CFG80211=n
 
 
-menu "Rate control algorithm selection"
-	depends on MAC80211 != n
+if MAC80211 != n
 
 
 config MAC80211_RC_PID
 config MAC80211_RC_PID
 	bool "PID controller based rate control algorithm" if EMBEDDED
 	bool "PID controller based rate control algorithm" if EMBEDDED
@@ -61,7 +60,7 @@ config MAC80211_RC_DEFAULT
 	default "pid" if MAC80211_RC_DEFAULT_PID
 	default "pid" if MAC80211_RC_DEFAULT_PID
 	default ""
 	default ""
 
 
-endmenu
+endif
 
 
 config MAC80211_MESH
 config MAC80211_MESH
 	bool "Enable mac80211 mesh networking (pre-802.11s) support"
 	bool "Enable mac80211 mesh networking (pre-802.11s) support"