diff options
author | Ethan Chen <intervigil@gmail.com> | 2016-07-20 10:53:01 -0700 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-01 23:10:28 +0200 |
commit | 95b0e98f01a32fe8b89ba778230e8a48979bd1d1 (patch) | |
tree | a6eab08da88366bf3573922dae13ba23c145fc5d | |
parent | 8ae355afe1af12efda2b50d4ed3dbe3e1a18cb26 (diff) | |
download | android_frameworks_opt_net_wifi-95b0e98f01a32fe8b89ba778230e8a48979bd1d1.tar.gz android_frameworks_opt_net_wifi-95b0e98f01a32fe8b89ba778230e8a48979bd1d1.tar.bz2 android_frameworks_opt_net_wifi-95b0e98f01a32fe8b89ba778230e8a48979bd1d1.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
-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 7e0f099f2..e8c7dead0 100644 --- a/service/jni/com_android_server_wifi_Gbk2Utf.cpp +++ b/service/jni/com_android_server_wifi_Gbk2Utf.cpp @@ -521,7 +521,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) { |