summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/dp/htt/htt_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c
index 94b3e01e8e0b..afcb4107f8c3 100644
--- a/core/dp/htt/htt_rx.c
+++ b/core/dp/htt/htt_rx.c
@@ -798,7 +798,7 @@ void htt_rx_detach(struct htt_pdev_t *pdev)
memctx));
qdf_mem_free_consistent(pdev->osdev, pdev->osdev->dev,
- pdev->rx_ring.size * sizeof(qdf_dma_addr_t),
+ pdev->rx_ring.size * sizeof(target_paddr_t),
pdev->rx_ring.buf.paddrs_ring,
pdev->rx_ring.base_paddr,
qdf_get_dma_mem_context((&pdev->rx_ring.buf),