fix madwifi menuconfig (thx, Othello)
[lede.git] / package / madwifi / Config.in
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.