summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormukesh agrawal <quiche@google.com>2016-05-02 15:28:33 -0700
committermukesh agrawal <quiche@google.com>2016-05-02 15:35:09 -0700
commit3161c10e00c2c8198809fc514cada0a43c5e66f1 (patch)
tree0e3b2dcea1a7757028fe6b8915a2cbd3120d7c4f
parentc7338605251ff62f6e21737b1cfca865ce6f3dd9 (diff)
WifiNative.cpp: reduce logspam
We sometimes fetch the channel list often (every 20 seconds), so logging the message on every attempt to fetch the list is spammy. Demote the message to verbose level, to reduce spam. BUG=28425940 TEST=manual Manual test: - install new code - reboot device - after reboot, sleep 60 $ adb logcat -d \ | egrep 'getting valid|ScannerImpl: Starting wifi scan for freqs' -> match for "ScannerImpl...", but not "getting valid" Change-Id: I56a8f941ced0f291f0c37e9279e5dda635351cb2
-rw-r--r--service/jni/com_android_server_wifi_WifiNative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/jni/com_android_server_wifi_WifiNative.cpp b/service/jni/com_android_server_wifi_WifiNative.cpp
index 4eb5524f7..765fd9552 100644
--- a/service/jni/com_android_server_wifi_WifiNative.cpp
+++ b/service/jni/com_android_server_wifi_WifiNative.cpp
@@ -1385,7 +1385,7 @@ static jintArray android_net_wifi_getValidChannels(JNIEnv *env, jclass cls,
JNIHelper helper(env);
wifi_interface_handle handle = getIfaceHandle(helper, cls, iface);
- ALOGD("getting valid channels %p", handle);
+ ALOGV("getting valid channels %p", handle);
static const int MaxChannels = 64;
wifi_channel channels[64];