From a64c052bb25005b0cac9d11ec66106f4abc7aea8 Mon Sep 17 00:00:00 2001 From: Surabhi Vishnoi Date: Thu, 27 Jan 2022 15:17:01 +0530 Subject: [PATCH] qcacmn: Reduce the log level from error to info Reduce the log level of tx flow control threshold pool size from error to info. This is done to reduce the delay due to console logging in connection/roaming path. Change-Id: I5332bd179edc92006976a6421121cfce38b89b70 CRs-Fixed: 3119430 --- dp/wifi3.0/dp_tx_flow_control.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dp/wifi3.0/dp_tx_flow_control.c b/dp/wifi3.0/dp_tx_flow_control.c index 341e7945904d..41654aa1e7af 100644 --- a/dp/wifi3.0/dp_tx_flow_control.c +++ b/dp/wifi3.0/dp_tx_flow_control.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -73,9 +73,8 @@ dp_tx_initialize_threshold(struct dp_tx_desc_pool_s *pool, pool->stop_th[DP_TH_HI] = (pool->stop_th[DP_TH_BE_BK] * FL_TH_HI_PERCENTAGE) / 100; - QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR, - "%s: tx flow control threshold is set, pool size is %d", - __func__, flow_pool_size); + dp_info("tx flow control threshold is set, pool size is %d", + flow_pool_size); } /**