diff options
author | Ethan Chen <intervigil@gmail.com> | 2016-07-20 10:53:01 -0700 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2016-08-15 21:43:22 -0700 |
commit | cab7889e1568a8227cbd00512919d8349f417a75 (patch) | |
tree | cb291407e521a30a0a602499d2519cafa43b02d0 /service | |
parent | 709a45986871c397b32913ef5fe4f9ae1781a50b (diff) | |
download | android_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.cpp | 3 |
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) { |