modules: hostap: Fix EAP-MD5 only build

Include chap.c for EAP-MD5 also.

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

View file

@ -442,7 +442,7 @@ zephyr_library_compile_definitions_ifdef(CONFIG_EAP_MSCHAPV2
EAP_MSCHAPv2
)
if(CONFIG_EAP_TTLS OR CONFIG_EAP_MSCHAPV2)
if(CONFIG_EAP_TTLS OR CONFIG_EAP_MSCHAPV2 OR CONFIG_EAP_MD5)
zephyr_library_sources(${HOSTAP_SRC_BASE}/eap_common/chap.c)
endif()