diff options
| author | ChandanaKishori Chiluveru <cchilu@codeaurora.org> | 2014-06-03 14:53:13 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:02:49 -0700 |
| commit | d025d9d53023d9f411d3f1dcf72712ae8fa5a552 (patch) | |
| tree | d801242b933acbb2b75c9e671c64bdf7a8858670 /include/linux/stacktrace.h | |
| parent | 15d49a10511d64362bdbb597c44a3337e8f54ce7 (diff) | |
usb: gadget: Ignore the second set_config from the host
Some USB hosts may send SET_CONFIGURATION with same value twice.
The current code implementation of android_work() issues disconnect
event to userspace if SetConfiguration with non-zero value is sent
twice. The Userspace application may disconnect USB and it causes
fail to connect to the USB host.
Fix this by ignoring the second time SET_CONFIGURATION request
from the host only for the same configuration value twice.
CRs-Fixed: 661220
Change-Id: Iec8dd7824fa9f371ea147784cf9137aa88a7128e
Signed-off-by: ChandanaKishori Chiluveru <cchilu@codeaurora.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
