Android: Fix CONFIG_WNM use in Android.mk

This code was within ifdef CONFIG_AP and did not get included unless
AP mode support was also enabled. This is similar to the Makefile
change in commit 2dfb9a447c.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-03-17 20:10:44 +02:00
parent 3b335329b9
commit 69586aa312

View file

@ -749,10 +749,6 @@ ifdef CONFIG_IEEE80211N
L_CFLAGS += -DCONFIG_IEEE80211N L_CFLAGS += -DCONFIG_IEEE80211N
endif endif
ifdef CONFIG_WNM
L_CFLAGS += -DCONFIG_WNM
endif
ifdef NEED_AP_MLME ifdef NEED_AP_MLME
OBJS += src/ap/wmm.c OBJS += src/ap/wmm.c
OBJS += src/ap/ap_list.c OBJS += src/ap/ap_list.c
@ -773,6 +769,10 @@ OBJS += src/ap/hs20.c
endif endif
endif endif
ifdef CONFIG_WNM
L_CFLAGS += -DCONFIG_WNM
endif
ifdef NEED_RSN_AUTHENTICATOR ifdef NEED_RSN_AUTHENTICATOR
L_CFLAGS += -DCONFIG_NO_RADIUS L_CFLAGS += -DCONFIG_NO_RADIUS
NEED_AES_WRAP=y NEED_AES_WRAP=y