[PATCH 01/14] TDLS: support setting CONFIG_TDLS_TESTING in .config

Arik Nemtsov arik
Mon Sep 26 03:55:22 PDT 2011


Fix the regular and android makefiles.

Signed-off-by: Arik Nemtsov <arik at wizery.com>
Cc: Kalyan C Gaddam <chakkal at iit.edu>
---
 wpa_supplicant/Android.mk |    4 ++++
 wpa_supplicant/Makefile   |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 8ce24ad..05a7998 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -179,6 +179,10 @@ NEED_SHA256=y
 NEED_AES_OMAC1=y
 endif
 
+ifdef CONFIG_TDLS_TESTING
+L_CFLAGS += -DCONFIG_TDLS_TESTING
+endif
+
 ifdef CONFIG_PEERKEY
 L_CFLAGS += -DCONFIG_PEERKEY
 endif
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 49bbcd7..2230dc0 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -161,6 +161,10 @@ NEED_SHA256=y
 NEED_AES_OMAC1=y
 endif
 
+ifdef CONFIG_TDLS_TESTING
+CFLAGS += -DCONFIG_TDLS_TESTING
+endif
+
 ifdef CONFIG_PEERKEY
 CFLAGS += -DCONFIG_PEERKEY
 endif
-- 
1.7.4.1




More information about the Hostap mailing list