[PATCH 05/10] wpa_supplicant/Makefile: Make CONFIG_MBO independent of CONFIG_AP

Andrei Otcheretianski andrei.otcheretianski at intel.com
Thu Oct 27 05:18:27 PDT 2016


From: Avrahams Stern <avraham.stern at intel.com>

CONFIG_MBO was defined inside ifdef CONFIG_AP, so when AP support
was not compiled MBO was not compiled either. However, CONFIG_MBO
is not related AP support, so it should not depend on CONFIG_AP.

Fix this by moving CONFIG_MBO outside of ifdef CONFIG_AP.

Signed-off-by: Avrahams Stern <avraham.stern at intel.com>
---
 wpa_supplicant/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 3edbffc..9c293f3 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -882,11 +882,6 @@ CFLAGS += -DCONFIG_IEEE80211AC
 endif
 endif
 
-ifdef CONFIG_MBO
-OBJS += mbo.o
-CFLAGS += -DCONFIG_MBO
-endif
-
 ifdef NEED_AP_MLME
 OBJS += ../src/ap/wmm.o
 OBJS += ../src/ap/ap_list.o
@@ -908,6 +903,11 @@ OBJS += ../src/ap/hs20.o
 endif
 endif
 
+ifdef CONFIG_MBO
+OBJS += mbo.o
+CFLAGS += -DCONFIG_MBO
+endif
+
 ifdef NEED_RSN_AUTHENTICATOR
 CFLAGS += -DCONFIG_NO_RADIUS
 NEED_AES_WRAP=y
-- 
1.9.1




More information about the Hostap mailing list