aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/ax88179_178a.c
diff options
context:
space:
mode:
authorDavid Chang <dchang@suse.com>2013-06-27 05:16:43 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-29 00:34:28 -0400
commitb8553b89edf73122eba4419cc846a31ebf7bc894 (patch)
tree38aa5ba3e7c08f1086a4d17a5680a28674ceed80 /drivers/net/usb/ax88179_178a.c
parent803dee958390bd3e9e42a31dd8bdc4d1a8fa319f (diff)
usbnet: ax88179_178a: add .reset_resume hook
I tested with the AX88179 usb dongle, if without .reset_resume hook, after S3/S4 resume you have to enable network interface or reload the dirver module manually otherwise the network interface can not work. Signed-off-by: David Chang <dchang@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/ax88179_178a.c')
-rw-r--r--drivers/net/usb/ax88179_178a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c
index 7ce243bf7088..1e3c302d94fe 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -1433,6 +1433,7 @@ static struct usb_driver ax88179_178a_driver = {
1433 .probe = usbnet_probe, 1433 .probe = usbnet_probe,
1434 .suspend = ax88179_suspend, 1434 .suspend = ax88179_suspend,
1435 .resume = ax88179_resume, 1435 .resume = ax88179_resume,
1436 .reset_resume = ax88179_resume,
1436 .disconnect = usbnet_disconnect, 1437 .disconnect = usbnet_disconnect,
1437 .supports_autosuspend = 1, 1438 .supports_autosuspend = 1,
1438 .disable_hub_initiated_lpm = 1, 1439 .disable_hub_initiated_lpm = 1,