mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ath11k: fix missing unlock on error in ath11k_wow_op_resume()
Add the missing unlock before return from function ath11k_wow_op_resume()
in the error handling case.
Fixes: 90bf5c8d0f ("ath11k: purge rx pktlog when entering WoW")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220408030912.3087293-1-yangyingliang@huawei.com
This commit is contained in:
parent
652f69ed9c
commit
605194411d
|
|
@ -758,7 +758,7 @@ int ath11k_wow_op_resume(struct ieee80211_hw *hw)
|
|||
ret = ath11k_dp_rx_pktlog_start(ar->ab);
|
||||
if (ret) {
|
||||
ath11k_warn(ar->ab, "failed to start rx pktlog from wow: %d\n", ret);
|
||||
return ret;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
ret = ath11k_wow_wakeup(ar->ab);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user