diff options
| author | Jeff Johnson <[email protected]> | 2024-01-11 10:05:31 -0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-01-14 17:00:50 +0200 |
| commit | 2e82b5f09a97f1b98b885470c81c1248bec103af (patch) | |
| tree | f7fb487d60abe002ea8151dd13d2ea6c6696f816 /tools/perf/scripts/python | |
| parent | 59cf57ab3deea979ffc0a6f7c22f4331e59d32f0 (diff) | |
wifi: ath12k: Add missing qmi_txn_cancel() calls
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions