summaryrefslogtreecommitdiff
path: root/core/utils
diff options
context:
space:
mode:
authorAnurag Chouhan <achouhan@codeaurora.org>2016-09-03 16:21:50 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-10 19:06:06 -0700
commit05d124f8cb8d8b6f67178efef511482bb481da51 (patch)
treeabbadb163289ef686ee963141258b0ee3e77e2ff /core/utils
parent1a77236aa515a8cbbaa7ade7410cb1597b5fd113 (diff)
qcacld-3.0: Logging level changes on wlan HOST
qcacld-2.0 to qcacld-3.0 propagation. As there are a lot of prints dropped on the console in short duration, it leads to interrupt disablement on the cpu. So reducing the logging level of log statement from ERROR to INFO Change-Id: I3eefac49378a7bfbcc235b1dd3362e1213fa1f42 CRs-Fixed: 886644 (cherry picked from commit 06c7d1b4aa89fb5c25241cec0558d559ee93b683)
Diffstat (limited to 'core/utils')
-rw-r--r--core/utils/logging/src/wlan_logging_sock_svc.c13
-rw-r--r--core/utils/ptt/src/wlan_ptt_sock_svc.c2
2 files changed, 3 insertions, 12 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c
index 810416d76666..d730138fdd25 100644
--- a/core/utils/logging/src/wlan_logging_sock_svc.c
+++ b/core/utils/logging/src/wlan_logging_sock_svc.c
@@ -570,10 +570,9 @@ static int wlan_logging_thread(void *Arg)
break;
}
- if (gwlan_logging.exit) {
- pr_err("%s: Exiting the thread\n", __func__);
+ if (gwlan_logging.exit)
break;
- }
+
if (test_and_clear_bit(HOST_LOG_DRIVER_MSG,
&gwlan_logging.eventFlag)) {
@@ -623,8 +622,6 @@ static int wlan_logging_thread(void *Arg)
}
}
- pr_info("%s: Terminating\n", __func__);
-
complete_and_exit(&gwlan_logging.shutdown_comp, 0);
return 0;
@@ -685,9 +682,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf)
int i = 0;
unsigned long irq_flag;
- pr_info("%s: Initalizing FEConsoleLog = %d NumBuff = %d\n",
- __func__, log_fe_to_console, num_buf);
-
gapp_pid = INVALID_PID;
gplog_msg = (struct log_msg *)vmalloc(num_buf * sizeof(struct log_msg));
@@ -738,7 +732,6 @@ int wlan_logging_sock_activate_svc(int log_fe_to_console, int num_buf)
nl_srv_register(ANI_NL_MSG_LOG, wlan_logging_proc_sock_rx_msg);
- pr_info("%s: Activated wlan_logging svc\n", __func__);
return 0;
}
@@ -770,8 +763,6 @@ int wlan_logging_sock_deactivate_svc(void)
vfree(gplog_msg);
gplog_msg = NULL;
- pr_info("%s: Deactivate wlan_logging svc\n", __func__);
-
return 0;
}
diff --git a/core/utils/ptt/src/wlan_ptt_sock_svc.c b/core/utils/ptt/src/wlan_ptt_sock_svc.c
index 75dd66f5d7ae..3370ad22758c 100644
--- a/core/utils/ptt/src/wlan_ptt_sock_svc.c
+++ b/core/utils/ptt/src/wlan_ptt_sock_svc.c
@@ -152,7 +152,7 @@ static void ptt_sock_proc_reg_req(tAniHdr *wmsg, int radio)
rspmsg.wniHdr.length = cpu_to_be16(sizeof(rspmsg));
if (ptt_sock_send_msg_to_app((tAniHdr *) &rspmsg.wniHdr, radio,
ANI_NL_MSG_PUMAC, ptt_pid) < 0) {
- PTT_TRACE(QDF_TRACE_LEVEL_ERROR,
+ PTT_TRACE(QDF_TRACE_LEVEL_INFO,
"%s: Error sending ANI_MSG_APP_REG_RSP to pid[%d]\n",
__func__, ptt_pid);
}