ath11k: unlock mutex during failure in qmi fw ready
PATCH 1/1 ath11k: unlock mutex during failure in qmi fw ready
qmi firmware ready event start to initialize the core modules and the sequence executed with mutex lock. In case of any failure mutex should be unlocked otherwise it will hang during the recovery.
Signed-off-by Govindaraj Saminathan <[email protected]>
--- drivers/net/wireless/ath/ath11k/core.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath11k/core.c +1 -0
@@ -531,6 +531,7 @@ int ath11k_core_qmi_firmware_ready(struct ath11k_base *ab)ath11k_core_stop (ab); err_dp_free:ath11k_dp_free (ab); +mutex_unlock (&ab->core_lock);return ret; }
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 6 lines · Govindaraj Saminathan
qmi firmware ready event start to initialize the core modules and the sequence executed with mutex lock. In case of any failure mutex should be unlocked otherwise it will hang during the recovery.
Signed-off-by Govindaraj Saminathan <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-post-bringup branch of ath.git, thanks.
c1283e0e7f1a ath11k: unlock mutex during failure in qmi fw ready
Signature · 9 lines
https://patchwork.kernel.org/patch/11221153/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k