From 69586aa31241f5f5e8057beea01e227025000cd5 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 17 Mar 2013 20:10:44 +0200 Subject: [PATCH] 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 2dfb9a447c7b71e03d4f4a318b4f8d67244d57d1. Signed-hostap: Jouni Malinen --- wpa_supplicant/Android.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 274519baa..bfb5d6a9c 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -749,10 +749,6 @@ ifdef CONFIG_IEEE80211N L_CFLAGS += -DCONFIG_IEEE80211N endif -ifdef CONFIG_WNM -L_CFLAGS += -DCONFIG_WNM -endif - ifdef NEED_AP_MLME OBJS += src/ap/wmm.c OBJS += src/ap/ap_list.c @@ -773,6 +769,10 @@ OBJS += src/ap/hs20.c endif endif +ifdef CONFIG_WNM +L_CFLAGS += -DCONFIG_WNM +endif + ifdef NEED_RSN_AUTHENTICATOR L_CFLAGS += -DCONFIG_NO_RADIUS NEED_AES_WRAP=y