aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2010-11-17 13:49:25 -0800
committerDmitry Shmidt <dimitrysh@google.com>2010-11-17 13:49:25 -0800
commit3ae4d7ced8d9d72b0432a476abdecda77f766c66 (patch)
treea41edea8b08301b049db6f40ab398435250ea5a0
parentefae2a2d2552ac0e92a4e0c2dcf811d2e3bd803b (diff)
downloadwpa_supplicant_6-3ae4d7ced8d9d72b0432a476abdecda77f766c66.tar.gz
Remove Android log messages in wpa_msg()
Change-Id: I9b8507bfd479b992691501ee46a85e9aac70d6c5 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--wpa_supplicant/src/utils/wpa_debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/src/utils/wpa_debug.c b/wpa_supplicant/src/utils/wpa_debug.c
index 9ec38f8..1c01520 100644
--- a/wpa_supplicant/src/utils/wpa_debug.c
+++ b/wpa_supplicant/src/utils/wpa_debug.c
@@ -20,7 +20,11 @@
#ifdef CONFIG_DEBUG_FILE
static FILE *out_file = NULL;
#endif /* CONFIG_DEBUG_FILE */
+#ifdef CONFIG_ANDROID_LOG
+int wpa_debug_level = MSG_WARNING;
+#else
int wpa_debug_level = MSG_INFO;
+#endif
int wpa_debug_show_keys = 0;
int wpa_debug_timestamp = 0;