Commit 9c8f92ae authored by Denis Joseph Barrow's avatar Denis Joseph Barrow Committed by David S. Miller

hso: Hook up ->reset_resume

Made usb_drivers reset_resume function point to hso_resume this 
fixes problems a usb reset is done when the network interface
is left idle for a few minutes. Possibly reset_resume should
initialise hardware more but this works in the common case.
Signed-off-by: default avatarDenis Joseph Barrow <D.Barow@option.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7ea3a9ad
...@@ -3277,6 +3277,7 @@ static struct usb_driver hso_driver = { ...@@ -3277,6 +3277,7 @@ static struct usb_driver hso_driver = {
.id_table = hso_ids, .id_table = hso_ids,
.suspend = hso_suspend, .suspend = hso_suspend,
.resume = hso_resume, .resume = hso_resume,
.reset_resume = hso_resume,
.supports_autosuspend = 1, .supports_autosuspend = 1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment