aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/hso.c
diff options
context:
space:
mode:
authorDenis Joseph Barrow <D.Barow@option.com>2008-11-25 03:36:10 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 03:36:10 -0500
commit9c8f92aed16dbd1924910f3305f5992a4f29fe2a (patch)
tree4e7528000a46bf14ed55b3168806523e825cd6ba /drivers/net/usb/hso.c
parent7ea3a9ad9bf360f746a7ad6fa72511a5c359490d (diff)
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: Denis Joseph Barrow <D.Barow@option.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/hso.c')
-rw-r--r--drivers/net/usb/hso.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index fd723dc79c50..7fde27eef440 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -3277,6 +3277,7 @@ static struct usb_driver hso_driver = {
3277 .id_table = hso_ids, 3277 .id_table = hso_ids,
3278 .suspend = hso_suspend, 3278 .suspend = hso_suspend,
3279 .resume = hso_resume, 3279 .resume = hso_resume,
3280 .reset_resume = hso_resume,
3280 .supports_autosuspend = 1, 3281 .supports_autosuspend = 1,
3281}; 3282};
3282 3283