From 971cd6f6b36e32b41c174b1f8e47eda70fad2977 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 1 Jun 2008 06:00:25 +0000 Subject: fix madwifi menuconfig (thx, Othello) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11318 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/Config.in | 5 ++--- package/madwifi/Makefile | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'package/madwifi') 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:= \ -- cgit v1.2.3