summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/smsc95xx.c
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@shawell.net>2012-09-28 00:07:10 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-28 18:34:58 -0400
commitc954679cf76095b0a1232c3dad604a9066d78ab1 (patch)
tree7ac85c83b011f282e74271bbd03d1c2bec1e77c2 /drivers/net/usb/smsc95xx.c
parent769ea6d89d5b915415a95432ff102c0aaf65e916 (diff)
downloadlinux-c954679cf76095b0a1232c3dad604a9066d78ab1.tar.gz
linux-c954679cf76095b0a1232c3dad604a9066d78ab1.tar.bz2
linux-c954679cf76095b0a1232c3dad604a9066d78ab1.zip
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>
Diffstat (limited to 'drivers/net/usb/smsc95xx.c')
-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,
};