OSDN Git Service

DO NOT MERGE trouble syncing with fitbit and can't turn off bluetooth.
authorZhihai Xu <zhihaixu@google.com>
Wed, 15 Jan 2014 01:46:26 +0000 (17:46 -0800)
committerZhihai Xu <zhihaixu@google.com>
Sat, 8 Mar 2014 09:32:52 +0000 (01:32 -0800)
commit91f012208070d71e6e9e0f38aa36e78e99f2ff4e
tree4585ce26db71984ba0b421715e679ab03337c5cc
parentb74fe9e2c9fc0939f5c18282c985622f20b78d2a
DO NOT MERGE trouble syncing with fitbit and can't turn off bluetooth.

this is to work around broadcom firmware problem to handle
unsolicited command complete event for HCI_LE_Create_Connection_Cancel
and LE connection complete event with status error code (0x2)
unknown connection identifier from bluetooth controller
the workaround is to release the HCI connection to avoid out of sync
with bluetooth controller, which cause BT can't be turned off.

bug:11614046
Change-Id: Ia5c5ad0c6c9b1a4f03253cac8a7caaf21341c88c
stack/btm/btm_ble.c