summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Liu <kaliu@codeaurora.org>2017-05-15 10:02:46 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-24 04:43:53 -0700
commit0bbc9ca6fb599608f9af2507019bbfebbe744488 (patch)
treebeb9e136d7e201d5d125e701f47a7be6d20c860f
parentffc22e043856183ae4efb6c04d574ba4a8142fe4 (diff)
qcacld-2.0: reduce log to fix a watchdog bark issue
When SSR is in progress, if driver wants to deliver log to userspace, it will be rejected and error level log as below will be output to serial and frequence is ~30ms. "<6> R0: [wlan_logging_th][06:56:16.581860] wlan: [22078:E :VOS] vos_get_log_indicator: 2870: In LoadUnload: 0 LogP: 1 ReInit: 0 " Log output to serial in such frequence will trigger watchdog bite, so adjust log level to avoid above issue. Change-Id: I65d214a088cbc6269b54ba289d17998c395c7a04 CRs-Fixed: 2002591
-rw-r--r--CORE/VOSS/src/vos_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/VOSS/src/vos_api.c b/CORE/VOSS/src/vos_api.c
index 8393580dbdeb..aec121219e5d 100644
--- a/CORE/VOSS/src/vos_api.c
+++ b/CORE/VOSS/src/vos_api.c
@@ -2866,7 +2866,7 @@ uint32_t vos_get_log_indicator(void)
if (vos_context->isLoadUnloadInProgress ||
vos_context->isLogpInProgress ||
vos_context->isReInitInProgress) {
- VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_ERROR,
+ VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO,
FL("In LoadUnload: %u LogP: %u ReInit: %u"),
vos_context->isLoadUnloadInProgress,
vos_context->isLogpInProgress,