From 1bffc851acffbb036d3c22c859338382c8f5bf5a Mon Sep 17 00:00:00 2001 From: Sravan Kumar Kairam Date: Tue, 4 Dec 2018 21:45:23 +0530 Subject: [PATCH] qcacmn: Reduce logging in dp_tx_comp_process_tx_status When from control path peer is deleted, peer deletion in progress is set in dp for that peer. So any caller tries to get the peer using peer id the return peer reference will be NULL as deletion is in progress. In this case during peer deletion in progress at tx completion process status console logs are flooded with invalid peer logs in soft irq context. This is leading to scheduler watch dog bite. In this change reduce the severity to prevent excessive logs. Change-Id: Ife8f9e496b81b19666ef9e36db674106111a7d43 CRs-fixed: 2357807 --- dp/wifi3.0/dp_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 8c66cbc9d5..c437a0dc63 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -2903,8 +2903,8 @@ void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc, length = qdf_nbuf_len(tx_desc->nbuf); /* Update peer level stats */ if (!peer) { - QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO, - "invalid peer"); + QDF_TRACE_DEBUG_RL(QDF_MODULE_ID_DP, + "peer is null or deletion in progress"); DP_STATS_INC_PKT(soc, tx.tx_invalid_peer, 1, length); goto out; }