Browse Source

qcacmn: Log limit to DMA not done when reaping Monitor status ring

Add log limit to error "DMA not done" when reaping Monitor status ring
to avoid flooding other useful driver log.

Change-Id: I251ef8082d49bfdbcc6a234224cbefdba608b5f5
CRs-Fixed: 2798732
Tiger Yu 4 năm trước cách đây
mục cha
commit
fdd4fdfe46
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dp/wifi3.0/dp_rx_mon_status.c

+ 1 - 1
dp/wifi3.0/dp_rx_mon_status.c

@@ -106,7 +106,7 @@ dp_rx_mon_handle_status_buf_done(struct dp_pdev *pdev,
 	 * hold on to mon destination ring.
 	 */
 	if (buf_status != QDF_STATUS_SUCCESS) {
-		dp_err("Monitor status ring: DMA is not done "
+		dp_err_rl("Monitor status ring: DMA is not done "
 			     "for nbuf: %pK", status_nbuf);
 		pdev->rx_mon_stats.tlv_tag_status_err++;
 		return DP_MON_STATUS_NO_DMA;