Kaynağa Gözat

qcacld-3.0: Remove unmap for packets in the vdev ll_pause queue

The packets in the vdev ll_pause queue hasn't been doing the qdf_nbuf_map,
or they might be mapped by other module like ipa. So do not unmap in the
ol_txrx_vdev_detach to avoid the mis-match operation.

Change-Id: I498c09152be95464bc6343f2a48d63e13d621a82
CRs-Fixed: 2198903
Tiger Yu 7 yıl önce
ebeveyn
işleme
757f448a04
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      core/dp/txrx/ol_txrx.c

+ 0 - 2
core/dp/txrx/ol_txrx.c

@@ -2423,8 +2423,6 @@ ol_txrx_vdev_detach(struct cdp_vdev *pvdev,
 		qdf_nbuf_t next = qdf_nbuf_next(vdev->ll_pause.txq.head);
 
 		qdf_nbuf_set_next(vdev->ll_pause.txq.head, NULL);
-		qdf_nbuf_unmap(pdev->osdev, vdev->ll_pause.txq.head,
-			       QDF_DMA_TO_DEVICE);
 		qdf_nbuf_tx_free(vdev->ll_pause.txq.head, QDF_NBUF_PKT_ERROR);
 		vdev->ll_pause.txq.head = next;
 	}