summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@shawell.net>2012-09-28 04:07:10 +0400
committerDavid S. Miller <davem@davemloft.net>2012-09-29 02:34:58 +0400
commitc954679cf76095b0a1232c3dad604a9066d78ab1 (patch)
tree7ac85c83b011f282e74271bbd03d1c2bec1e77c2
parent769ea6d89d5b915415a95432ff102c0aaf65e916 (diff)
downloadlinux-c954679cf76095b0a1232c3dad604a9066d78ab1.tar.xz
smsc95xx: fix resume when usb device is reset
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> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/usb/smsc95xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index d0ff01ee0b62..f29860d6341a 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,
};