projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652f69e
)
ath11k: fix missing unlock on error in ath11k_wow_op_resume()
author
Yang Yingliang
<yangyingliang@huawei.com>
Tue, 12 Apr 2022 13:15:53 +0000
(16:15 +0300)
committer
Kalle Valo
<quic_kvalo@quicinc.com>
Sat, 23 Apr 2022 09:28:07 +0000
(12:28 +0300)
Add the missing unlock before return from function ath11k_wow_op_resume()
in the error handling case.
Fixes:
90bf5c8d0f7e
("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
drivers/net/wireless/ath/ath11k/wow.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath11k/wow.c
b/drivers/net/wireless/ath/ath11k/wow.c
index
6c2611f
..
9d088ce
100644
(file)
--- a/
drivers/net/wireless/ath/ath11k/wow.c
+++ b/
drivers/net/wireless/ath/ath11k/wow.c
@@
-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 re
t;
+
goto exi
t;
}
ret = ath11k_wow_wakeup(ar->ab);