Răsfoiți Sursa

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
jinbao liu 1 an în urmă
părinte
comite
b80337cee1
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      htc/htc_send.c

+ 1 - 2
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;