[RFC 01/13] TDLS: support setting CONFIG_TDLS_TESTING in .config
Arik Nemtsov
arik
Thu Sep 15 03:22:19 PDT 2011
Fix the regular and android makefiles.
Signed-off-by: Arik Nemtsov <arik at wizery.com>
---
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 e59f8f7..ad3d8ae 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