diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c index bd39345e9efb..c82f7a106517 100644 --- a/core/dp/htt/htt_rx.c +++ b/core/dp/htt/htt_rx.c @@ -126,6 +126,13 @@ void htt_rx_hash_deinit(struct htt_pdev_t *pdev) pdev->rx_ring. listnode_offset); if (hash_entry->netbuf) { +#ifdef DEBUG_DMA_DONE + cdf_nbuf_unmap(pdev->osdev, hash_entry->netbuf, + CDF_DMA_BIDIRECTIONAL); +#else + cdf_nbuf_unmap(pdev->osdev, hash_entry->netbuf, + CDF_DMA_FROM_DEVICE); +#endif cdf_nbuf_free(hash_entry->netbuf); hash_entry->paddr = 0; }