Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311410
b: refs/heads/master
c: fb13c47
h: refs/heads/master
v: v3
  • Loading branch information
Ming Lei authored and David S. Miller committed Jun 23, 2012
1 parent c5699bc commit d09f78a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9f90eb2740203ff2592efe640409ad48335d1c2
refs/heads/master: fb13c47b8e5ce707268bd38cfd082da377eac4b7
4 changes: 3 additions & 1 deletion trunk/drivers/net/usb/usbnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,11 +796,13 @@ int usbnet_open (struct net_device *net)
if (info->manage_power) {
retval = info->manage_power(dev, 1);
if (retval < 0)
goto done;
goto done_manage_power_error;
usb_autopm_put_interface(dev->intf);
}
return retval;

done_manage_power_error:
clear_bit(EVENT_DEV_OPEN, &dev->flags);
done:
usb_autopm_put_interface(dev->intf);
done_nopm:
Expand Down

0 comments on commit d09f78a

Please sign in to comment.