aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-12-16 10:28:19 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-16 10:28:19 (GMT)
commit2dfb9a447c7b71e03d4f4a318b4f8d67244d57d1 (patch)
treeb4bd395c889d513d8edb756a70c817660490cb9a /wpa_supplicant/Makefile
parent9af431035f5fbd67808de5678d31a7cfc5310582 (diff)
downloadhostap-2dfb9a447c7b71e03d4f4a318b4f8d67244d57d1.zip
hostap-2dfb9a447c7b71e03d4f4a318b4f8d67244d57d1.tar.gz
hostap-2dfb9a447c7b71e03d4f4a318b4f8d67244d57d1.tar.bz2
WNM: Fix CONFIG_WNM use in Makefile
This code was within ifdef CONFIG_AP and did not get included unless AP mode support was also enabled. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r--wpa_supplicant/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index c6c76ec..b5aaaae 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -738,10 +738,6 @@ ifdef CONFIG_IEEE80211N
CFLAGS += -DCONFIG_IEEE80211N
endif
-ifdef CONFIG_WNM
-CFLAGS += -DCONFIG_WNM
-endif
-
ifdef NEED_AP_MLME
OBJS += ../src/ap/wmm.o
OBJS += ../src/ap/ap_list.o
@@ -762,6 +758,10 @@ OBJS += ../src/ap/hs20.o
endif
endif
+ifdef CONFIG_WNM
+CFLAGS += -DCONFIG_WNM
+endif
+
ifdef NEED_RSN_AUTHENTICATOR
CFLAGS += -DCONFIG_NO_RADIUS
NEED_AES_WRAP=y