]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ath11k: delete a stray unlock in ath11k_dbg_htt_stats_req()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Dec 2019 10:47:54 +0000 (13:47 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 17:54:28 +0000 (19:54 +0200)
The callers unlock this lock so this error path has a double unlock.

Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/debug_htt_stats.c

index a824826f562c5eb28d39becf6219cf5f3b4e356f..090fffa5e53c5fd33de255237cdd5344d389c1ac 100644 (file)
@@ -4287,7 +4287,6 @@ int ath11k_dbg_htt_stats_req(struct ath11k *ar)
        ret = ath11k_dp_tx_htt_h2t_ext_stats_req(ar, type, &cfg_params, cookie);
        if (ret) {
                ath11k_warn(ar->ab, "failed to send htt stats request: %d\n", ret);
-               mutex_unlock(&ar->conf_mutex);
                return ret;
        }