OSDN Git Service

HID: Remove bond for device in case Virtual unplug is ongoing
authorHemant Gupta <hemantg@codeaurora.org>
Fri, 11 Dec 2015 10:17:45 +0000 (15:47 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 4 Mar 2016 17:25:55 +0000 (09:25 -0800)
commitdc5272a39d7915d0c921de2fb0727853fadda40a
treeac6378e2e60531a29822a29913c590e0e26b274b
parentd27af388490dbe194035ad779096f98aef92d1a5
HID: Remove bond for device in case Virtual unplug is ongoing

Remove bond for remote device in case virtual unplug was initiated from
local device, and ACL got disconnected while processing the VUP request.
this can happen when aaplication is sending disconnect and remove bond
in quick succession. Without this fix it was observed that device was
getting disconnected, but was not getting unpaired even when user
tried to unpair from UI.

Change-Id: Ife1fc99ed59b13daf0bcf0dce3e0a59c7d9e87d7
btif/src/btif_hh.c
stack/hid/hidh_api.c