]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Enable CONFIG_WNM=y automatically for CONFIG_MBO=y builds
authorJouni Malinen <j@w1.fi>
Mon, 1 May 2017 14:33:10 +0000 (17:33 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 1 May 2017 14:39:14 +0000 (17:39 +0300)
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 <j@w1.fi>
wpa_supplicant/Android.mk
wpa_supplicant/Makefile

index 79493e35fbfa6ea7051b6579d108658be6fe6baa..fbc85b6246ac6670d79206706ca3b072f03e2d21 100644 (file)
@@ -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
index 95bb52d38ecc85d07ac274ee3ca2f155d7e48b9f..1f36ae787e5570687f6c53242017ebf5c87ea414 100644 (file)
@@ -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