summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2016-07-20 10:53:01 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-31 22:53:27 -0700
commit3205f8cd96e2b449c5d08eaf2624946af6b1cd19 (patch)
tree2dda6ce3676baeaa7261275065b8a3222cfce11c
parent0f38186edc51c5ed9ce88494bc92bf93a4b61ac4 (diff)
downloadandroid_frameworks_opt_net_wifi-staging/cm-14.0-caf.tar.gz
android_frameworks_opt_net_wifi-staging/cm-14.0-caf.tar.bz2
android_frameworks_opt_net_wifi-staging/cm-14.0-caf.zip
wifi: Stop spamming logsstaging/cm-14.0-caf
* 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.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 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) {