summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-09-14 15:12:45 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:39:05 -0800
commita1d5055fd24572b878e46651f6dab9ec005a7e5f (patch)
tree6e4812009f8a84e2144ed385c6cad751e563a590 /net
parent1f83dfc1ed7a5df6279e0e84fe4b0047d3b85513 (diff)
usb: gadget: android: always update the sw_connected state
If we go through connected->configured->disconnected cycle very quickly, it is possible that we may not generate a disconnect uevent to userspace. Connected+configured could have happened before the work item got executed, and thus would not have updated the sw_connected state. On the disconnect, it would have noticed that a config is no longer there but since sw_connected was still 0, it would not have sent the disconnect event. Change-Id: Id71175f784e3e1cf3f828bd8b24fceea1078a06b Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions