提交 1e66eda1 编写于 作者: J Julia Lawall 提交者: John W. Linville

drivers/net/wireless/libertas/if_usb.c: add missing debugging code

Add a corresponding leave call on error failure.
Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
Acked-by: NDan Williams <dcbw@redhat.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 d9fb6465
......@@ -1128,8 +1128,10 @@ static int if_usb_suspend(struct usb_interface *intf, pm_message_t message)
lbs_deb_enter(LBS_DEB_USB);
if (priv->psstate != PS_STATE_FULL_POWER)
return -1;
if (priv->psstate != PS_STATE_FULL_POWER) {
ret = -1;
goto out;
}
#ifdef CONFIG_OLPC
if (machine_is_olpc()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册