Commit ba479239 authored by Govindaraj Saminathan's avatar Govindaraj Saminathan Committed by Kalle Valo

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: default avatarGovindaraj Saminathan <gsamin@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 64f1d7e9
...@@ -539,6 +539,7 @@ int ath11k_core_qmi_firmware_ready(struct ath11k_base *ab) ...@@ -539,6 +539,7 @@ int ath11k_core_qmi_firmware_ready(struct ath11k_base *ab)
ath11k_core_stop(ab); ath11k_core_stop(ab);
err_dp_free: err_dp_free:
ath11k_dp_free(ab); ath11k_dp_free(ab);
mutex_unlock(&ab->core_lock);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment