From dc29b1f9d7b5ad8d1d068fb83c5983f0a457b3a5 Mon Sep 17 00:00:00 2001 From: Tiger Yu Date: Mon, 23 Dec 2019 15:46:42 +0800 Subject: [PATCH] qcacmn: Limit logging when handling tx comp status if vdev is NULL Use dp_info_rl instead of QDF_TRACE when handling tx completion status to avoid excessive logging when vdev is destroyed in the another thread. Change-Id: I1044c6d747ba1c7036664fe0265ec4855b7b4c47 CRs-Fixed: 2591486 --- dp/wifi3.0/dp_tx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 164229c56f..3f7d61188f 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -3196,8 +3196,7 @@ void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc, qdf_nbuf_t nbuf = tx_desc->nbuf; if (!vdev || !nbuf) { - QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO, - "invalid tx descriptor. vdev or nbuf NULL"); + dp_info_rl("invalid tx descriptor. vdev or nbuf NULL"); goto out; }