usbnet: ax88179_178a: add .reset_resume hook
authorDavid Chang <dchang@suse.com>
Thu, 27 Jun 2013 09:16:43 +0000 (17:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2013 04:34:28 +0000 (21:34 -0700)
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>
drivers/net/usb/ax88179_178a.c

index 7ce243b..1e3c302 100644 (file)
@@ -1433,6 +1433,7 @@ static struct usb_driver ax88179_178a_driver = {
        .probe =        usbnet_probe,
        .suspend =      ax88179_suspend,
        .resume =       ax88179_resume,
+       .reset_resume = ax88179_resume,
        .disconnect =   usbnet_disconnect,
        .supports_autosuspend = 1,
        .disable_hub_initiated_lpm = 1,