OSDN Git Service

HID: Reset Disconnect Reason on Connection Establishment
authorHemant Gupta <hemantg@codeaurora.org>
Fri, 5 Jul 2013 18:05:58 +0000 (23:35 +0530)
committerZhihai Xu <zhihaixu@google.com>
Mon, 21 Apr 2014 19:24:06 +0000 (19:24 +0000)
commit8f322bfe42a57902e7c45713a5c6215dfbe2494a
treea90af7a2e1961e1b39280f5f99f8a693d554c228
parent8d2128d5740c8a7282e2336cd9f5901e98d3eb63
HID: Reset Disconnect Reason on Connection Establishment

This patch resets the disconnect reason to successful on HID Interrupt
channel establishment. Without this change, wrong reason is propogated
to BTA layer on disconnection initiated either from DUT or Remote end.

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