浏览代码

qca-wifi: Unmap nbuf while processing Tx completion

For mcast-enhancement, nbuf mapping is done once.
The nbuf is cloned as per the number of clients.
After queueing the pkt to HW, the nbuf should not
be unmapped immediately.The correct place to unmap
the nbuf is in the Tx completion path.

Change-Id: I6c45967b53e1d6db5a7ebf77c6df735c1a41d642
Debasis Das 4 年之前
父节点
当前提交
1beaf3500a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      dp/wifi3.0/dp_txrx_me.c

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

@@ -460,7 +460,6 @@ dp_tx_me_send_convert_ucast(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
 	}
 	qdf_mem_free(seg_info_head);
 
-	qdf_nbuf_unmap(pdev->soc->osdev, nbuf, QDF_DMA_TO_DEVICE);
 	qdf_nbuf_free(nbuf);
 	dp_vdev_unref_delete(soc, vdev, DP_MOD_ID_MCAST2UCAST);
 	return new_mac_cnt;