From 470f08b4f6ae48f2c993241f6d10c27faee091a6 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 1 May 2017 17:33:10 +0300 Subject: [PATCH] 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 --- wpa_supplicant/Android.mk | 4 ++++ wpa_supplicant/Makefile | 4 ++++ 2 files changed, 8 insertions(+) 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