aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2015-03-29 12:03:25 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-29 17:51:14 (GMT)
commit154a1d5f7f8a504e29e280777ac4666684f34354 (patch)
tree38136bee534aee61aedef2530e61bd24c1595bae /hostapd/Makefile
parentce18c107733969be74eef387564db2ef1285df98 (diff)
downloadhostap-154a1d5f7f8a504e29e280777ac4666684f34354.zip
hostap-154a1d5f7f8a504e29e280777ac4666684f34354.tar.gz
hostap-154a1d5f7f8a504e29e280777ac4666684f34354.tar.bz2
hostapd: Fix some compilation errors
If NEED_AP_MLME=y is not defined, compilation might fail under some configurations: src/ap/drv_callbacks.c:594:2: warning: implicit declaration of function ‘hostapd_acs_completed’ [-Wimplicit-function-declaration] src/ap/sta_info.c:253: undefined reference to `sae_clear_retransmit_timer' Fix these errors by adding the missing hostapd_acs_completed() stub, and defining NEED_AP_MLME in case of CONFIG_SAE. Signed-off-by: Eliad Peller <eliad@wizery.com>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 3ea1315..3c7bd6f 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -227,6 +227,7 @@ CFLAGS += -DCONFIG_SAE
OBJS += ../src/common/sae.o
NEED_ECC=y
NEED_DH_GROUPS=y
+NEED_AP_MLME=y
endif
ifdef CONFIG_WNM