projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b547f4f
)
usb: gadget: f_rndis: fix unbind
author
Benoit Goby
<benoit@android.com>
Wed, 1 Jun 2011 01:25:06 +0000
(18:25 -0700)
committer
mgross
<mark.gross@intel.com>
Wed, 9 Nov 2011 20:08:58 +0000
(12:08 -0800)
Change-Id: Idfde1aee6cfd7c648d4100060e111798c405e32c
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/f_rndis.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_rndis.c
b/drivers/usb/gadget/f_rndis.c
index
64faf65
..
761a789
100644
(file)
--- a/
drivers/usb/gadget/f_rndis.c
+++ b/
drivers/usb/gadget/f_rndis.c
@@
-776,6
+776,8
@@
rndis_unbind(struct usb_configuration *c, struct usb_function *f)
rndis_deregister(rndis->config);
rndis_exit();
+ rndis_string_defs[0].id = 0;
+
if (gadget_is_dualspeed(c->cdev->gadget))
usb_free_descriptors(f->hs_descriptors);
usb_free_descriptors(f->descriptors);