summaryrefslogtreecommitdiffstats
path: root/net/mac80211/Kconfig
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-01 08:22:46 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-09-02 15:29:03 -0400
commitabd8ea22c23c917f56fefcda8a4468fbc2247d7f (patch)
treec7e1affc39648d537617188ab6e454d3641ac5f5 /net/mac80211/Kconfig
parent253850c10d1f9af46f4870616ed29f38ed39fd15 (diff)
downloadtalos-obmc-linux-abd8ea22c23c917f56fefcda8a4468fbc2247d7f.tar.gz
talos-obmc-linux-abd8ea22c23c917f56fefcda8a4468fbc2247d7f.zip
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>
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r--net/mac80211/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 9db4ff836a3d..4d5543af3123 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -13,8 +13,7 @@ config MAC80211
comment "CFG80211 needs to be enabled for MAC80211"
depends on CFG80211=n
-menu "Rate control algorithm selection"
- depends on MAC80211 != n
+if MAC80211 != n
config MAC80211_RC_PID
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 ""
-endmenu
+endif
config MAC80211_MESH
bool "Enable mac80211 mesh networking (pre-802.11s) support"
OpenPOWER on IntegriCloud