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
This commit is contained in:
jinbao liu
2023-12-28 01:42:11 -08:00
committed by Ravindra Konda
parent 7ddc1542ad
commit b80337cee1

View File

@@ -2667,8 +2667,7 @@ QDF_STATUS htc_tx_completion_handler(void *Context,
do { do {
pPacket = htc_lookup_tx_packet(target, pEndpoint, netbuf); pPacket = htc_lookup_tx_packet(target, pEndpoint, netbuf);
if (!pPacket) { if (!pPacket) {
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, qdf_rl_err("HTC TX lookup failed!");
("HTC TX lookup failed!\n"));
/* may have already been flushed and freed */ /* may have already been flushed and freed */
netbuf = NULL; netbuf = NULL;
break; break;