hostapd: fix Config.in dependencies
authorFelix Fietkau <nbd@nbd.name>
Fri, 5 Apr 2024 12:54:16 +0000 (14:54 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 5 Apr 2024 12:55:59 +0000 (14:55 +0200)
hostapd packages were accidentally left out. Clean up this mess by
changing the dependencies to hostapd-common

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/Config.in

index 87ad7e093e7da0629e044721f29e43cc4c76b780..1fff4f8acd530b1c0fc30d02e8eef1b698ab1a4c 100644 (file)
@@ -1,54 +1,12 @@
 # wpa_supplicant config
 config WPA_RFKILL_SUPPORT
        bool "Add rfkill support"
 # wpa_supplicant config
 config WPA_RFKILL_SUPPORT
        bool "Add rfkill support"
-       depends on PACKAGE_wpa-supplicant || \
-                  PACKAGE_wpa-supplicant-openssl || \
-                  PACKAGE_wpa-supplicant-wolfssl || \
-                  PACKAGE_wpa-supplicant-mbedtls || \
-                  PACKAGE_wpa-supplicant-mesh-openssl || \
-                  PACKAGE_wpa-supplicant-mesh-wolfssl || \
-                  PACKAGE_wpa-supplicant-mesh-mbedtls || \
-                  PACKAGE_wpa-supplicant-basic || \
-                  PACKAGE_wpa-supplicant-mini || \
-                  PACKAGE_wpa-supplicant-p2p || \
-                  PACKAGE_wpad || \
-                  PACKAGE_wpad-openssl || \
-                  PACKAGE_wpad-wolfssl || \
-                  PACKAGE_wpad-mbedtls || \
-                  PACKAGE_wpad-basic || \
-                  PACKAGE_wpad-basic-openssl || \
-                  PACKAGE_wpad-basic-wolfssl || \
-                  PACKAGE_wpad-basic-mbedtls || \
-                  PACKAGE_wpad-mini || \
-                  PACKAGE_wpad-mesh-openssl || \
-                  PACKAGE_wpad-mesh-wolfssl || \
-                  PACKAGE_wpad-mesh-mbedtls
+       depends on PACKAGE_hostapd-common
        default n
 
 config WPA_MSG_MIN_PRIORITY
        int "Minimum debug message priority"
        default n
 
 config WPA_MSG_MIN_PRIORITY
        int "Minimum debug message priority"
-       depends on PACKAGE_wpa-supplicant || \
-                  PACKAGE_wpa-supplicant-openssl || \
-                  PACKAGE_wpa-supplicant-wolfssl || \
-                  PACKAGE_wpa-supplicant-mbedtls || \
-                  PACKAGE_wpa-supplicant-mesh-openssl || \
-                  PACKAGE_wpa-supplicant-mesh-wolfssl || \
-                  PACKAGE_wpa-supplicant-mesh-mbedtls || \
-                  PACKAGE_wpa-supplicant-basic || \
-                  PACKAGE_wpa-supplicant-mini || \
-                  PACKAGE_wpa-supplicant-p2p || \
-                  PACKAGE_wpad || \
-                  PACKAGE_wpad-openssl || \
-                  PACKAGE_wpad-wolfssl || \
-                  PACKAGE_wpad-mbedtls || \
-                  PACKAGE_wpad-basic || \
-                  PACKAGE_wpad-basic-openssl || \
-                  PACKAGE_wpad-basic-wolfssl || \
-                  PACKAGE_wpad-basic-mbedtls || \
-                  PACKAGE_wpad-mini || \
-                  PACKAGE_wpad-mesh-openssl || \
-                  PACKAGE_wpad-mesh-wolfssl || \
-                  PACKAGE_wpad-mesh-mbedtls
+       depends on PACKAGE_hostapd-common
        default 3
        help
          Useful values are:
        default 3
        help
          Useful values are:
@@ -84,6 +42,7 @@ config DRIVER_11AX_SUPPORT
 
 config WPA_ENABLE_WEP
        bool "Enable support for unsecure and obsolete WEP"
 
 config WPA_ENABLE_WEP
        bool "Enable support for unsecure and obsolete WEP"
+       depends on PACKAGE_hostapd-common
        help
          Wired equivalent privacy (WEP) is an obsolete cryptographic data
          confidentiality algorithm that is not considered secure. It should not be used
        help
          Wired equivalent privacy (WEP) is an obsolete cryptographic data
          confidentiality algorithm that is not considered secure. It should not be used
@@ -93,14 +52,8 @@ config WPA_ENABLE_WEP
 
 config WPA_MBO_SUPPORT
        bool "Multi Band Operation (Agile Multiband)"
 
 config WPA_MBO_SUPPORT
        bool "Multi Band Operation (Agile Multiband)"
-       default PACKAGE_wpa-supplicant || \
-               PACKAGE_wpa-supplicant-openssl || \
-               PACKAGE_wpa-supplicant-wolfssl || \
-               PACKAGE_wpa-supplicant-mbedtls || \
-               PACKAGE_wpad || \
-               PACKAGE_wpad-openssl || \
-               PACKAGE_wpad-wolfssl || \
-               PACKAGE_wpad-mbedtls
+       depends on PACKAGE_hostapd-common
+       default y
        help
          Multi Band Operation aka (Agile Multiband) enables features
          that facilitate efficient use of multiple frequency bands.
        help
          Multi Band Operation aka (Agile Multiband) enables features
          that facilitate efficient use of multiple frequency bands.