From: Jouni Malinen Date: Mon, 1 May 2017 14:33:10 +0000 (+0300) Subject: Enable CONFIG_WNM=y automatically for CONFIG_MBO=y builds X-Git-Tag: hostap_2_7~1353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=470f08b4f6ae48f2c993241f6d10c27faee091a6;p=thirdparty%2Fhostap.git Enable CONFIG_WNM=y automatically for CONFIG_MBO=y builds wpa_supplicant build with MBO enabled failed in CONFIG_WNM=y was not specified explicitly. Add the WNM dependency automatically to avoid needing explicit addition in build configuration. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 79493e35f..fbc85b624 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -259,6 +259,10 @@ NEED_ECC=y endif endif +ifdef CONFIG_MBO +CONFIG_WNM=y +endif + ifdef CONFIG_WNM L_CFLAGS += -DCONFIG_WNM OBJS += wnm_sta.c diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 95bb52d38..1f36ae787 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -292,6 +292,10 @@ NEED_ECC=y endif endif +ifdef CONFIG_MBO +CONFIG_WNM=y +endif + ifdef CONFIG_WNM CFLAGS += -DCONFIG_WNM OBJS += wnm_sta.o