Commit cd840f6a authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

wlcore: release lock on error in wl1271_op_suspend()

We should release this lock before returning.
Signed-off-by: default avatarDan Carpenter <>
Signed-off-by: default avatarLuciano Coelho <>
parent b95d7cef
......@@ -1629,6 +1629,7 @@ static int wl1271_op_suspend(struct ieee80211_hw *hw,
wl12xx_for_each_wlvif(wl, wlvif) {
ret = wl1271_configure_suspend(wl, wlvif, wow);
if (ret < 0) {
wl1271_warning("couldn't prepare device to suspend");
return ret;
Supports Markdown
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