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 <gsamin@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
64f1d7e94d
commit
ba47923974
1 changed files with 1 additions and 0 deletions
|
|
@ -539,6 +539,7 @@ err_core_stop:
|
|||
ath11k_core_stop(ab);
|
||||
err_dp_free:
|
||||
ath11k_dp_free(ab);
|
||||
mutex_unlock(&ab->core_lock);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue