Patchwork [4/5] smsc95xx: fix resume when usb device is reset

login
register
mail settings
Submitter Steve Glendinning
Date Sept. 26, 2012, 12:40 p.m.
Message ID <1348663224-30403-5-git-send-email-steve.glendinning@shawell.net>
Download mbox | patch
Permalink /patch/187068/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Steve Glendinning - Sept. 26, 2012, 12:40 p.m.
This patch fixes an issue on some systems, where after suspend the
link is re-established but the ethernet interface does not resume.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
---
 drivers/net/usb/smsc95xx.c |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index d0ff01e..f29860d 100644
--- a/drivers/net/usb/smsc95xx.c
+++ b/drivers/net/usb/smsc95xx.c
@@ -1282,6 +1282,7 @@  static struct usb_driver smsc95xx_driver = {
 	.probe		= usbnet_probe,
 	.suspend	= usbnet_suspend,
 	.resume		= usbnet_resume,
+	.reset_resume	= usbnet_resume,
 	.disconnect	= usbnet_disconnect,
 	.disable_hub_initiated_lpm = 1,
 };