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>
This commit is contained in:
parent
803dee9583
commit
b8553b89ed
|
@ -1433,6 +1433,7 @@ static struct usb_driver ax88179_178a_driver = {
|
||||||
.probe = usbnet_probe,
|
.probe = usbnet_probe,
|
||||||
.suspend = ax88179_suspend,
|
.suspend = ax88179_suspend,
|
||||||
.resume = ax88179_resume,
|
.resume = ax88179_resume,
|
||||||
|
.reset_resume = ax88179_resume,
|
||||||
.disconnect = usbnet_disconnect,
|
.disconnect = usbnet_disconnect,
|
||||||
.supports_autosuspend = 1,
|
.supports_autosuspend = 1,
|
||||||
.disable_hub_initiated_lpm = 1,
|
.disable_hub_initiated_lpm = 1,
|
||||||
|
|
Loading…
Reference in New Issue