]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Add missing qmi_txn_cancel()
authorAnilkumar Kolli <akolli@codeaurora.org>
Tue, 2 Nov 2021 12:52:38 +0000 (18:22 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 17 Nov 2021 07:29:01 +0000 (09:29 +0200)
commitff18983e4f2402e41a15de220246ec1386672f46
tree8511d026b566772dac30f40ca24862a1b6ecda67
parent51de7c4ef080299622c8a560fa22917fea86a6dc
ath11k: Add missing qmi_txn_cancel()

Currently many functions do not follow this guidance when
qmi_send_request() fails, therefore add missing
qmi_txn_cancel() in the qmi_send_request() error path.

Also remove initialization on 'struct qmi_txn'
since qmi_tx_init() performs all necessary initialization.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01838-QCAHKSWPL_SILICONZ-1

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1635857558-21733-1-git-send-email-akolli@codeaurora.org
drivers/net/wireless/ath/ath11k/qmi.c