ath10k: fix incorrect size of dma_free_coherent in ath10k_ce_alloc_src_ring_64
authorYueHaibing <yuehaibing@huawei.com>
Fri, 1 Jun 2018 11:25:48 +0000 (19:25 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Jun 2018 15:11:26 +0000 (18:11 +0300)
commit5a211627004e2cddd0ab8b9df19e5fb0bbe97634
tree3d0afbaae6332272f541dc960a7bb3a31918e574
parent6ee0e175a33deea08354bc8a91b743f0ec8c8a0a
ath10k: fix incorrect size of dma_free_coherent in ath10k_ce_alloc_src_ring_64

sizeof(struct ce_desc) should be a copy-paste mistake
just use sizeof(struct ce_desc_64) to avoid mem leak

Fixes: b7ba83f7c414 ("ath10k: add support for shadow register for WNC3990")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/ce.c