diff options
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 74da5f1ea243..ce4938dec2ca 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -1128,8 +1128,10 @@ static int if_usb_suspend(struct usb_interface *intf, pm_message_t message) | |||
1128 | 1128 | ||
1129 | lbs_deb_enter(LBS_DEB_USB); | 1129 | lbs_deb_enter(LBS_DEB_USB); |
1130 | 1130 | ||
1131 | if (priv->psstate != PS_STATE_FULL_POWER) | 1131 | if (priv->psstate != PS_STATE_FULL_POWER) { |
1132 | return -1; | 1132 | ret = -1; |
1133 | goto out; | ||
1134 | } | ||
1133 | 1135 | ||
1134 | #ifdef CONFIG_OLPC | 1136 | #ifdef CONFIG_OLPC |
1135 | if (machine_is_olpc()) { | 1137 | if (machine_is_olpc()) { |