From 757f448a04cd3530c06ceec7aea1667a0d3db252 Mon Sep 17 00:00:00 2001 From: Tiger Yu Date: Fri, 2 Mar 2018 13:59:17 +0800 Subject: [PATCH] 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 --- core/dp/txrx/ol_txrx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index 87655a3a6fbd..9b38a50c8668 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/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; }