USB-RNDIS: Send RNDIS state on disconnecting
authorVitaly Kuzmichev <vkuzmichev@mvista.com>
Fri, 11 Feb 2011 15:18:35 +0000 (18:18 +0300)
committerRemy Bohmer <linux@bohmer.net>
Sat, 19 Feb 2011 19:32:38 +0000 (20:32 +0100)
commite4ae66608bbf8b7be9162e5933a98905dcf52d6b
tree8f07caef2a6be9ceef8a560aabd4795ec2ef61aa
parent7612a43d0803ebd70071894658291300d4acc615
USB-RNDIS: Send RNDIS state on disconnecting

Add waiting for receiving Ethernet gadget state on the Windows host
side before dropping pullup, but keep it for debug.

Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
drivers/usb/gadget/ether.c
drivers/usb/gadget/rndis.c
drivers/usb/gadget/rndis.h