From 0bbc9ca6fb599608f9af2507019bbfebbe744488 Mon Sep 17 00:00:00 2001 From: Kai Liu Date: Mon, 15 May 2017 10:02:46 +0800 Subject: 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 --- CORE/VOSS/src/vos_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3