Browse Source

WNM: Enable CONFIG_WNM in Android.mk

Signed-hostap: Vinayak Kamath <vkamat@codeaurora.org>
Vinayak Kamath 12 years ago
parent
commit
e2396a684e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      wpa_supplicant/Android.mk

+ 4 - 1
wpa_supplicant/Android.mk

@@ -198,7 +198,7 @@ NEED_DH_GROUPS=y
 endif
 
 ifdef CONFIG_WNM
-CFLAGS += -DCONFIG_WNM
+L_CFLAGS += -DCONFIG_WNM
 OBJS += wnm_sta.c
 endif
 
@@ -739,6 +739,9 @@ endif
 ifdef CONFIG_CTRL_IFACE
 OBJS += src/ap/ctrl_iface_ap.c
 endif
+ifdef CONFIG_WNM
+OBJS += src/ap/wnm_ap.c
+endif
 
 L_CFLAGS += -DEAP_SERVER -DEAP_SERVER_IDENTITY
 OBJS += src/eap_server/eap_server.c