Explorar el Código

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
Tiger Yu hace 5 años
padre
commit
dc29b1f9d7
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      dp/wifi3.0/dp_tx.c

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