]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: fix missing unlock on error in ath11k_wow_op_resume()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 12 Apr 2022 13:15:53 +0000 (16:15 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Sat, 23 Apr 2022 09:28:07 +0000 (12:28 +0300)
commite96ed21eed7bee7129805494d6f22ce143c5b02e
treec62b675fd0ebb103298a28c45a0c0bc12494a8d3
parent7a75a737ccd454912be103aef6b92b7c061faef5
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: e3679a1749cf ("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