Browse Source

modules: hostap: Fix EAP dependencies

In case anyone enabled EAP_*_ALL explicitly without enabling the
Enterprise then it leads to a build error.

Fix by adding the dependency.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
pull/92325/merge
Chaitanya Tata 2 weeks ago committed by Dan Kalowsky
parent
commit
014dee722b
  1. 9
      modules/hostap/Kconfig

9
modules/hostap/Kconfig

@ -200,6 +200,7 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
select MBEDTLS_TLS_VERSION_1_2 select MBEDTLS_TLS_VERSION_1_2
depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE
if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
config EAP_TLS config EAP_TLS
bool "EAP-TLS support" bool "EAP-TLS support"
@ -258,7 +259,8 @@ config EAP_ALL
select EAP_GTC select EAP_GTC
select EAP_TTLS select EAP_TTLS
select EAP_MSCHAPV2 select EAP_MSCHAPV2
default y if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE default y
endif # WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
config WIFI_NM_WPA_SUPPLICANT_WPA3 config WIFI_NM_WPA_SUPPLICANT_WPA3
bool "WPA3 support" bool "WPA3 support"
@ -302,6 +304,7 @@ config WIFI_NM_HOSTAPD_CRYPTO_ENTERPRISE
bool "Hostapd crypto enterprise support" bool "Hostapd crypto enterprise support"
depends on WIFI_NM_HOSTAPD_AP depends on WIFI_NM_HOSTAPD_AP
if WIFI_NM_HOSTAPD_CRYPTO_ENTERPRISE
config EAP_SERVER_TLS config EAP_SERVER_TLS
bool "EAP-TLS server support" bool "EAP-TLS server support"
@ -330,7 +333,9 @@ config EAP_SERVER_ALL
select EAP_SERVER_PEAP select EAP_SERVER_PEAP
select EAP_SERVER_GTC select EAP_SERVER_GTC
select EAP_SERVER_TTLS select EAP_SERVER_TTLS
default y if WIFI_NM_HOSTAPD_CRYPTO_ENTERPRISE default y
endif # WIFI_NM_HOSTAPD_CRYPTO_ENTERPRISE
config WIFI_NM_WPA_SUPPLICANT_BSS_MAX_IDLE_TIME config WIFI_NM_WPA_SUPPLICANT_BSS_MAX_IDLE_TIME
int "BSS max idle timeout in seconds" int "BSS max idle timeout in seconds"

Loading…
Cancel
Save