summaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2016-07-20 10:53:01 -0700
committerEthan Chen <intervigil@gmail.com>2016-08-15 21:43:22 -0700
commitcab7889e1568a8227cbd00512919d8349f417a75 (patch)
treecb291407e521a30a0a602499d2519cafa43b02d0 /service
parent709a45986871c397b32913ef5fe4f9ae1781a50b (diff)
downloadandroid_frameworks_opt_net_wifi-cab7889e1568a8227cbd00512919d8349f417a75.tar.gz
android_frameworks_opt_net_wifi-cab7889e1568a8227cbd00512919d8349f417a75.tar.bz2
android_frameworks_opt_net_wifi-cab7889e1568a8227cbd00512919d8349f417a75.zip
wifi: Stop spamming logs
* This check is going to be true if not GBK, so stop spamming the log with this. Change-Id: Ifed4885a9e502beeab8ef3f82de789c99ea106e1
Diffstat (limited to 'service')
-rw-r--r--service/jni/com_android_server_wifi_Gbk2Utf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/jni/com_android_server_wifi_Gbk2Utf.cpp b/service/jni/com_android_server_wifi_Gbk2Utf.cpp
index d28e0baf7..999faf007 100644
--- a/service/jni/com_android_server_wifi_Gbk2Utf.cpp
+++ b/service/jni/com_android_server_wifi_Gbk2Utf.cpp
@@ -526,7 +526,8 @@ jboolean setNetworkVariable(char *buf)
pthread_mutex_lock(g_pItemListMutex);
pTmpItemNode = g_pItemList;
if (NULL == pTmpItemNode) {
- ALOGE("g_pItemList is NULL");
+ if (DBG)
+ ALOGD("g_pItemList is NULL");
}
while (pTmpItemNode) {
if (pTmpItemNode->ssid_utf8) {