From: Jouni Malinen Date: Sun, 15 Jun 2014 16:35:22 +0000 (+0300) Subject: Fix CONFIG_MODULE_TESTS=y build without CONFIG_P2P=y X-Git-Tag: hostap_2_3~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa21e6c35b57718b17dfb1e85ba693160a82dcd6;p=thirdparty%2Fhostap.git Fix CONFIG_MODULE_TESTS=y build without CONFIG_P2P=y Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 817a69d64..8f7c23f65 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1499,6 +1499,9 @@ OBJS += ../src/common/common_module_tests.o ifdef CONFIG_WPS OBJS += ../src/wps/wps_module_tests.o endif +ifndef CONFIG_P2P +OBJS += ../src/utils/bitfield.o +endif endif OBJS += ../src/drivers/driver_common.o