summaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-01 06:00:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-01 06:00:25 +0000
commit971cd6f6b36e32b41c174b1f8e47eda70fad2977 (patch)
tree0a56ab7500218ca57c26272e159c96e13014586d /package/madwifi
parentc22b94546fe244e9d584e9f23fd584f6d1bcabcb (diff)
fix madwifi menuconfig (thx, Othello)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11318 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/Config.in5
-rw-r--r--package/madwifi/Makefile5
2 files changed, 3 insertions, 7 deletions
diff --git a/package/madwifi/Config.in b/package/madwifi/Config.in
index ab24a8e2f..7616607da 100644
--- a/package/madwifi/Config.in
+++ b/package/madwifi/Config.in
@@ -2,13 +2,12 @@
config MADWIFI_DEBUG
bool "Enable compilation of debugging features"
- depends on EXPERIMENTAL
+ depends on EXPERIMENTAL && PACKAGE_kmod-madwifi
default n
-endchoice
-
choice
prompt "Rate control algorithm selection"
+ depends on PACKAGE_kmod-madwifi
default MADWIFI_RCA_MINSTREL
help
This option controls how MadWifi chooses its bitrate.
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 8d11cf1c9..27c29529e 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -135,10 +135,7 @@ define KernelPackage/madwifi/description
endef
define KernelPackage/madwifi/config
- menu "MadWifi Configuration"
- depends on PACKAGE_kmod-madwifi
- source "$(SOURCE)/Config.in"
- endmenu
+ source "$(SOURCE)/Config.in"
endef
MAKE_ARGS:= \