rndis_host: Poll status before control channel where necessary
authorBen Hutchings <ben@decadent.org.uk>
Wed, 13 Apr 2011 21:48:55 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2011 21:48:55 +0000 (14:48 -0700)
commit4d42d417be75d750b82798922b6e775915e11bce
tree306b97e4cb6e82d5ecd7109c0b2561d256be67a8
parent74ae2fd7d326750d973920c30d5269596724ca71
rndis_host: Poll status before control channel where necessary

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 and for some Windows Mobile
devices.

This is roughly based on a patch by John Carr <john.carr@unrouted.co.uk>
which is currently applied by Mandriva.

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