Skip to contentSkip to conversation

respin of hso patches for linux-2.6.28-rc6 hso_reset_resume.patch [patch 6/6]

PATCH Denis Joseph Barrow 2 participants 2 messages Nov 24, 2008 – Nov 25, 2008 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

---

drivers/net/usb/hso.c +1 -0
Index: linux-2.6.28-rc6.patches/drivers/net/usb/hso.c
===================================================================
@@ -3277,6 +3277,7 @@
 	.id_table = hso_ids,
 	.suspend = hso_suspend,
 	.resume = hso_resume,
+	.reset_resume = hso_resume,
 	.supports_autosuspend = 1,
 };
 
Signature · 2 lines
best regards,
D.J. Barrow

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.

---

drivers/net/usb/hso.c +1 -0
Index: linux-2.6.28-rc6.patches/drivers/net/usb/hso.c
===================================================================
@@ -3277,6 +3277,7 @@
 	.id_table = hso_ids,
 	.suspend = hso_suspend,
 	.resume = hso_resume,
+	.reset_resume = hso_resume,
 	.supports_autosuspend = 1,
 };
 

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

From: Denis Joseph Barrow <[email protected]>
Date: Mon, 24 Nov 2008 15:53:46 +0100

Quoted 5 lines

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.

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html