OSDN Git Service

HID: Handle connection failure in disconnecting state
authorHemant Gupta <hemantg@codeaurora.org>
Fri, 22 Nov 2013 15:23:53 +0000 (20:53 +0530)
committerZhihai Xu <zhihaixu@google.com>
Mon, 21 Apr 2014 19:11:03 +0000 (19:11 +0000)
commit742d9fa575cd1ea12c7d4413f1bec62863b07cab
tree2baca8bed24500ded3bc24fc60333223946df2a8
parent1747956ba052b1538c29fe7793403dc4f13ba525
HID: Handle connection failure in disconnecting state

This patch handles connectio error of interrupt channel while in
disconnecting state. Without this patch it was seen that upper
layers would not be informed about failure of interrupt channel
connection in this corner case leading to UI stuck at connecting
forever.

Change-Id: I1f5f18e70470eff17b21f2ed921edaefd3c89f9c
stack/hid/hidh_conn.c