From: Jouni Malinen Date: Sun, 5 Sep 2010 09:41:15 +0000 (+0300) Subject: Fix hostapd build with CONFIG_IEEE80211N but without NEED_AP_MLME X-Git-Tag: hostap-1-bp~1201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b070460b1a1848159e68f3714ffb56dc6d67eef9;p=thirdparty%2Fhostap.git Fix hostapd build with CONFIG_IEEE80211N but without NEED_AP_MLME --- diff --git a/hostapd/Makefile b/hostapd/Makefile index 3c7382d50..6d344d2a9 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -694,11 +694,11 @@ OBJS += ../src/ap/wmm.o OBJS += ../src/ap/ap_list.o OBJS += ../src/ap/ieee802_11.o OBJS += ../src/ap/hw_features.o +CFLAGS += -DNEED_AP_MLME +endif ifdef CONFIG_IEEE80211N OBJS += ../src/ap/ieee802_11_ht.o endif -CFLAGS += -DNEED_AP_MLME -endif ifdef CONFIG_NO_STDOUT_DEBUG CFLAGS += -DCONFIG_NO_STDOUT_DEBUG