modules: hostap: Fix EAP-AKA only build

The SIM common file is applicable for AKA as well.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2025-01-28 13:58:36 +05:30 committed by Benjamin Cabé
commit e34d5caac8

View file

@ -519,9 +519,12 @@ zephyr_library_compile_definitions_ifdef(CONFIG_EAP_IKEV2
EAP_IKEV2
)
if (CONFIG_EAP_SIM OR CONFIG_EAP_AKA)
zephyr_library_sources(${HOSTAP_SRC_BASE}/eap_common/eap_sim_common.c)
endif()
zephyr_library_sources_ifdef(CONFIG_EAP_SIM
${HOSTAP_SRC_BASE}/eap_peer/eap_sim.c
${HOSTAP_SRC_BASE}/eap_common/eap_sim_common.c
)
zephyr_library_compile_definitions_ifdef(CONFIG_EAP_SIM