Files
linux/drivers
Jeff Johnson 30bbdff9e1 wifi: ath12k: Add missing qmi_txn_cancel() calls
[ Upstream commit 2e82b5f09a97f1b98b885470c81c1248bec103af ]

Per the QMI documentation "A client calling qmi_txn_init() must call
either qmi_txn_wait() or qmi_txn_cancel() to free up the allocated
resources."

Unfortunately, in most of the ath12k messaging functions, when
qmi_send_request() fails, the function returns without performing the
necessary cleanup. So update those functions to call qmi_txn_cancel()
when qmi_send_request() fails.

No functional changes, compile tested only.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240111-qmi-cleanup-v2-2-53343af953d5@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:33:33 +02:00
..
2023-08-22 15:50:57 +02:00
2023-08-24 16:20:30 -07:00
2024-08-11 12:47:24 +02:00
2024-08-19 06:04:28 +02:00
2023-11-20 11:59:19 +01:00
2024-08-11 12:47:15 +02:00
2024-02-05 20:14:15 +00:00
2024-08-29 17:33:28 +02:00
2023-08-21 13:27:44 +02:00