Quellcode durchsuchen

hostapd: fix Config.in dependencies

hostapd packages were accidentally left out. Clean up this mess by
changing the dependencies to hostapd-common

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau vor 1 Jahr
Ursprung
Commit
27a2b54cba
1 geänderte Dateien mit 5 neuen und 52 gelöschten Zeilen
  1. 5 52
      package/network/services/hostapd/Config.in

+ 5 - 52
package/network/services/hostapd/Config.in

@@ -1,54 +1,12 @@
 # wpa_supplicant config
 # wpa_supplicant config
 config WPA_RFKILL_SUPPORT
 config WPA_RFKILL_SUPPORT
 	bool "Add 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
 	default n
 
 
 config WPA_MSG_MIN_PRIORITY
 config WPA_MSG_MIN_PRIORITY
 	int "Minimum debug message 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
 	default 3
 	help
 	help
 	  Useful values are:
 	  Useful values are:
@@ -84,6 +42,7 @@ config DRIVER_11AX_SUPPORT
 
 
 config WPA_ENABLE_WEP
 config WPA_ENABLE_WEP
 	bool "Enable support for unsecure and obsolete WEP"
 	bool "Enable support for unsecure and obsolete WEP"
+	depends on PACKAGE_hostapd-common
 	help
 	help
 	  Wired equivalent privacy (WEP) is an obsolete cryptographic data
 	  Wired equivalent privacy (WEP) is an obsolete cryptographic data
 	  confidentiality algorithm that is not considered secure. It should not be used
 	  confidentiality algorithm that is not considered secure. It should not be used
@@ -93,14 +52,8 @@ config WPA_ENABLE_WEP
 
 
 config WPA_MBO_SUPPORT
 config WPA_MBO_SUPPORT
 	bool "Multi Band Operation (Agile Multiband)"
 	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
 	help
 	  Multi Band Operation aka (Agile Multiband) enables features
 	  Multi Band Operation aka (Agile Multiband) enables features
 	  that facilitate efficient use of multiple frequency bands.
 	  that facilitate efficient use of multiple frequency bands.