rndis_host: Poll status channel before control channel
commitc17b274dc2aa538b68c1f02b01a3c4e124b435ba
authorBen Hutchings <ben@decadent.org.uk>
Sun, 16 May 2010 06:03:29 +0000 (15 23:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 May 2010 06:03:29 +0000 (15 23:03 -0700)
treeadba02f37f287b01daedbe8d5399fc2cc065fde0
parent83827f6a891e20de7468b1181f2ae8a3cc72587b
rndis_host: Poll status channel before control channel

Some RNDIS devices don't respond on the control channel until polled
on the status channel.  In particular, this was reported to be the
case for the 2Wire HomePortal 1000SW.

This is roughly based on a patch by John Carr <john.carr@unrouted.co.uk>
which is reported to be needed for use with some Windows Mobile devices
and which is currently applied by Mandriva.

Reported-by: Mark Glassberg <vzeeaxwl@myfairpoint.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Mark Glassberg <vzeeaxwl@myfairpoint.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rndis_host.c