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>
This commit is contained in:
Jouni Malinen 2012-12-16 12:28:19 +02:00 committed by Jouni Malinen
parent 9af431035f
commit 2dfb9a447c

View file

@ -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