* [PATCH] hso reset_resume patch
@ 2008-09-16 14:52 Denis Joseph Barrow
0 siblings, 0 replies; only message in thread
From: Denis Joseph Barrow @ 2008-09-16 14:52 UTC (permalink / raw)
To: Linux USB kernel mailing list, Linux netdev Mailing list
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-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
---
Index: linux-2.6.27-rc6/drivers/net/usb/hso.c
===================================================================
--- linux-2.6.27-rc6.orig/drivers/net/usb/hso.c 2008-09-16 16:21:34.000000000 +0200
+++ linux-2.6.27-rc6/drivers/net/usb/hso.c 2008-09-16 16:22:56.000000000 +0200
@@ -2751,6 +2751,7 @@
.id_table = hso_ids,
.suspend = hso_suspend,
.resume = hso_resume,
+ .reset_resume = hso_resume,
.supports_autosuspend = 1,
};
--
best regards,
D.J. Barrow
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-16 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16 14:52 [PATCH] hso reset_resume patch Denis Joseph Barrow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).