aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-01 06:00:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-01 06:00:25 +0000
commita14c2d47bba388b20fbcda1b254272f8ad320a32 (patch)
tree0a56ab7500218ca57c26272e159c96e13014586d /package
parentee548d3c10bd9e8f60741ade8c5d6b218743458d (diff)
downloadupstream-a14c2d47bba388b20fbcda1b254272f8ad320a32.tar.gz
upstream-a14c2d47bba388b20fbcda1b254272f8ad320a32.tar.bz2
upstream-a14c2d47bba388b20fbcda1b254272f8ad320a32.zip
fix madwifi menuconfig (thx, Othello)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11318 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 ab24a8e2f1..7616607da3 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 8d11cf1c9a..27c29529ed 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:= \