From b80337cee1b59d5fa6f823a38d377ce0bc0a3ab3 Mon Sep 17 00:00:00 2001 From: jinbao liu Date: Thu, 28 Dec 2023 01:42:11 -0800 Subject: [PATCH] qcacmn: Refine htc_tx_completion_handler() log to avoid flooding This change refines the log in htc_tx_completion_handler() to avoid flooding by using qdf_rl_err(). Change-Id: If24f29cab89098a5e33f79aaa2cf43704b957d0f CRs-Fixed: 3694797 --- htc/htc_send.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htc/htc_send.c b/htc/htc_send.c index 5d394c131f..9bfeeda9bb 100644 --- a/htc/htc_send.c +++ b/htc/htc_send.c @@ -2667,8 +2667,7 @@ QDF_STATUS htc_tx_completion_handler(void *Context, do { pPacket = htc_lookup_tx_packet(target, pEndpoint, netbuf); if (!pPacket) { - AR_DEBUG_PRINTF(ATH_DEBUG_ERR, - ("HTC TX lookup failed!\n")); + qdf_rl_err("HTC TX lookup failed!"); /* may have already been flushed and freed */ netbuf = NULL; break;