aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-09-05 09:41:15 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-05 14:36:31 (GMT)
commit970dd136a0d06a3e3e1a832dcc4b39ad97147ea3 (patch)
treea3b2d45c028598642d3fdf42d5b1d00609c11bc4
parent6b6988607d9739e989731bd4354d6be44ef36d35 (diff)
downloadhostap-07-970dd136a0d06a3e3e1a832dcc4b39ad97147ea3.zip
hostap-07-970dd136a0d06a3e3e1a832dcc4b39ad97147ea3.tar.gz
hostap-07-970dd136a0d06a3e3e1a832dcc4b39ad97147ea3.tar.bz2
Fix hostapd build with CONFIG_IEEE80211N but without NEED_AP_MLME
(cherry picked from commit b070460b1a1848159e68f3714ffb56dc6d67eef9)
-rw-r--r--hostapd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 3c7382d..6d344d2 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