]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix some compilation errors
authorEliad Peller <eliad@wizery.com>
Sun, 29 Mar 2015 12:03:25 +0000 (15:03 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 29 Mar 2015 17:51:14 +0000 (20:51 +0300)
commit154a1d5f7f8a504e29e280777ac4666684f34354
tree38136bee534aee61aedef2530e61bd24c1595bae
parentce18c107733969be74eef387564db2ef1285df98
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>
hostapd/Makefile
src/ap/hw_features.h