aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorAvrahams Stern <avraham.stern@intel.com>2016-10-27 12:18:27 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-29 16:31:38 (GMT)
commitc433c50c9c457e6291fd0bd70d3419aca99b7673 (patch)
tree25ec7c05fd5a85c71571d9e6d2acc4a2778d0512 /wpa_supplicant
parentd044d2f7d81a5e1456bd9385257c858f10fcaad8 (diff)
downloadhostap-c433c50c9c457e6291fd0bd70d3419aca99b7673.zip
hostap-c433c50c9c457e6291fd0bd70d3419aca99b7673.tar.gz
hostap-c433c50c9c457e6291fd0bd70d3419aca99b7673.tar.bz2
wpa_supplicant: Make CONFIG_MBO independent of CONFIG_AP
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@intel.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Android.mk10
-rw-r--r--wpa_supplicant/Makefile10
2 files changed, 10 insertions, 10 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index a9501e1..8281da4 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -841,11 +841,6 @@ L_CFLAGS += -DCONFIG_IEEE80211AC
endif
endif
-ifdef CONFIG_MBO
-OBJS += mbo.c
-L_CFLAGS += -DCONFIG_MBO
-endif
-
ifdef NEED_AP_MLME
OBJS += src/ap/wmm.c
OBJS += src/ap/ap_list.c
@@ -867,6 +862,11 @@ OBJS += src/ap/hs20.c
endif
endif
+ifdef CONFIG_MBO
+OBJS += mbo.c
+L_CFLAGS += -DCONFIG_MBO
+endif
+
ifdef NEED_RSN_AUTHENTICATOR
L_CFLAGS += -DCONFIG_NO_RADIUS
NEED_AES_WRAP=y
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