rndis_host: increase delay in command response loop
Subsystems (3)
PATCH 10/11 rndis_host: increase delay in command response loop
From: Pierre Ynard <[email protected]>
Some devices running some WinCE firmware (with SC_* Samsung processors according to the SynCE project, verified on a HTC P3600 device) fail to register because they apparently need extra time to respond correctly to requests. Increase the existing delay to satisfy them. Based on code from the SynCE project, on a suggestion of David Brownell.
This patch Works For Me(tm).
---
drivers/net/usb/rndis_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/rndis_host.c renamed from drivers/net/usb/rndis_host.c~rndis_host-increase-delay-in-command-response-loop +1 -1
@@ -194,7 +194,7 @@ int rndis_command(struct usbnet *dev, stdev_dbg (&info->control->dev,"rndis response error, code %d\n" , retval); } -msleep (2 ); +msleep (20 ); }dev_dbg (&info->control->dev,"rndis response timeout\n" );return -ETIMEDOUT ;
_
Jeff Garzik
AppliedQuoted 16 lines · [email protected] wrote:
From: Pierre Ynard <[email protected]>
Some devices running some WinCE firmware (with SC_* Samsung processors according to the SynCE project, verified on a HTC P3600 device) fail to register because they apparently need extra time to respond correctly to requests. Increase the existing delay to satisfy them. Based on code from the SynCE project, on a suggestion of David Brownell.
This patch Works For Me(tm).
Signed-off-by Pierre Ynard <[email protected]>Acked-by David Brownell <[email protected]>Cc Greg KH <[email protected]>Cc Jeff Garzik <[email protected]>Cc "David S. Miller" <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Quoted 4 lines
---
drivers/net/usb/rndis_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied