mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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>
This commit is contained in:
parent
74ae2fd7d3
commit
4d42d417be
2 changed files with 34 additions and 7 deletions
|
|
@ -256,6 +256,8 @@ struct rndis_keepalive_c { /* IN (optionally OUT) */
|
|||
#define FLAG_RNDIS_PHYM_NOT_WIRELESS 0x0001
|
||||
#define FLAG_RNDIS_PHYM_WIRELESS 0x0002
|
||||
|
||||
/* Flags for driver_info::data */
|
||||
#define RNDIS_DRIVER_DATA_POLL_STATUS 1 /* poll status before control */
|
||||
|
||||
extern void rndis_status(struct usbnet *dev, struct urb *urb);
|
||||
extern int
|
||||
|
|
|
|||
Loading…
Reference in a new issue