OSDN Git Service

HID: Serialize L2CAP disconnection
authorHemant Gupta <hemantg@codeaurora.org>
Tue, 29 Oct 2013 06:11:16 +0000 (11:41 +0530)
committerZhihai Xu <zhihaixu@google.com>
Mon, 21 Apr 2014 19:13:03 +0000 (19:13 +0000)
commitbf51271f145204a0489597ccd9c851daa7ee0ad7
tree083e461b9f271c9a0509864e91ff3f124ab9d9c8
parent742d9fa575cd1ea12c7d4413f1bec62863b07cab
HID: Serialize L2CAP disconnection

This patch serializes host initiated hid disconnection by sending
control channel disconnect request only when disconnection response
for interrupt channel has been received.

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