From f5cc0f007cc8d2b4c96d62d39fe778c00007f6c2 Mon Sep 17 00:00:00 2001 From: Maochen Wang Date: Mon, 21 Oct 2024 18:52:26 +0900 Subject: [PATCH] hostap: fix build error when WPS enabled Fix build error of multiple definition of `dh5_init' in crypto_mbedtls_alt.c when WPS enabled. Signed-off-by: Maochen Wang --- modules/hostap/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/hostap/CMakeLists.txt b/modules/hostap/CMakeLists.txt index 8a89329b10c839..2aa328bf84644b 100644 --- a/modules/hostap/CMakeLists.txt +++ b/modules/hostap/CMakeLists.txt @@ -310,7 +310,6 @@ zephyr_library_sources_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_WPS ${HOSTAP_SRC_BASE}/wps/wps_enrollee.c ${HOSTAP_SRC_BASE}/wps/wps_registrar.c ${HOSTAP_SRC_BASE}/crypto/dh_groups.c - ${HOSTAP_SRC_BASE}/crypto/dh_group5.c ) zephyr_library_compile_definitions_ifdef(CONFIG_WIFI_NM_WPA_SUPPLICANT_P2P