fix madwifi menuconfig (thx, Othello)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 1 Jun 2008 06:00:25 +0000 (06:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 1 Jun 2008 06:00:25 +0000 (06:00 +0000)
SVN-Revision: 11318

package/madwifi/Config.in
package/madwifi/Makefile

index ab24a8e2f18d788b6a6bc8997b8ffac49d1012c3..7616607da3a20cbc61db7cf311c7918ae03b8d17 100644 (file)
@@ -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.
index 8d11cf1c9af0a170f75677933726809306738988..27c29529ed9e90c3647a4e918c38207d86bba6a6 100644 (file)
@@ -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:= \