aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2017-06-12 06:29:27 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-18 10:28:09 (GMT)
commitb5bf84ba39e11de607ef9b9242b2fb7cae3b77d5 (patch)
treedb87a1e0d0b2e8b5ff8adab552ceebf335a6ab70 /hostapd/Android.mk
parent922dcf1b457cf767d184b786175680520bacace0 (diff)
downloadhostap-b5bf84ba39e11de607ef9b9242b2fb7cae3b77d5.zip
hostap-b5bf84ba39e11de607ef9b9242b2fb7cae3b77d5.tar.gz
hostap-b5bf84ba39e11de607ef9b9242b2fb7cae3b77d5.tar.bz2
WNM: Differentiate between WNM for station and for AP in build
Previously, CONFIG_WNM enabled build that supports WNM for both station mode and AP mode. However, in most wpa_supplicant cases only station mode WNM is required and there is no need for AP mode WNM. Add support to differentiate between station mode WNM and AP mode WNM in wpa_supplicant builds by adding CONFIG_WNM_AP that should be used when AP mode WNM support is required in addition to station mode WNM. This allows binary size to be reduced for builds that require only the station side WNM functionality. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 721fcbb..8684681 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -288,7 +288,7 @@ endif
endif
ifdef CONFIG_WNM
-L_CFLAGS += -DCONFIG_WNM
+L_CFLAGS += -DCONFIG_WNM -DCONFIG_WNM_AP
OBJS += src/ap/wnm_ap.c
endif