UPSTREAM: ath10k: Fix memory leak in qmi
Currently the memory allocated for qmi handle is
not being freed during de-init which leads to memory leak.
Free the allocated qmi memory in qmi deinit
to avoid memory leak.
Tested HW: WCN3990
Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1
Fixes: fda6fee0001e ("ath10k: add QMI message handshake for wcn3990 client")
BUG=b:137525452
TEST=None
(Cherry picked from commit c709df58
https://github.com/torvalds/linux.git
)
Change-Id: I7a9ee1cb4beeefd86ea0a7014b27b31cfe7f3037
Signed-off-by:
Dundi Raviteja <dundi@codeaurora.org>
Signed-off-by:
Kalle Valo <kvalo@codeaurora.org>
Signed-off-by:
Vamsi Singamsetty <vamssi@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1720378
Reviewed-by:
Julan Hsu <julanhsu@google.com>
Reviewed-by:
Sean Paul <seanpaul@chromium.org>
Tested-by:
Julan Hsu <julanhsu@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Loading
Please sign in to comment