Skip to content

Commit

Permalink
hso: Hook up ->reset_resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis Joseph Barrow authored and David S. Miller committed Nov 25, 2008
1 parent 7ea3a9a commit 9c8f92a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -3277,6 +3277,7 @@ static struct usb_driver hso_driver = {
.id_table = hso_ids,
.suspend = hso_suspend,
.resume = hso_resume,
.reset_resume = hso_resume,
.supports_autosuspend = 1,
};

Expand Down

0 comments on commit 9c8f92a

Please sign in to comment.