From c21cc96eb32aa8ea89144f02decfe51104fe401e Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Wed, 4 Dec 2024 02:25:59 +0530 Subject: [PATCH] [nrf noup] modules: hostap: Fix Enterpise mode with nRF security The PEM Kconfig symbols is non-standard and isn't available for nRF security, for now add a check to enable that only for MbedTLS builtin which is not applicable for nRF security. Fixes NCSDK-30762. Signed-off-by: Chaitanya Tata --- modules/hostap/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index 813a9b91ed6..237ed3ea5e3 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -183,7 +183,7 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE bool "Enterprise Crypto support for WiFi" - select MBEDTLS_PEM_CERTIFICATE_FORMAT + select MBEDTLS_PEM_CERTIFICATE_FORMAT if MBEDTLS_BUILTIN depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE config EAP_TLS