diff options
author | Kausik Sinnaswamy <kausik@broadcom.com> | 2012-04-12 23:33:21 +0530 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:16 -0700 |
commit | 15ccfa97c678c45b05cc226d51287fb59a4f8b29 (patch) | |
tree | ab50e8c692ec2cc7d9a0b48c705050dcb30206c2 | |
parent | a6afead7e9b38befe168b437ac942696e54b64e3 (diff) | |
download | external_bluetooth_bluedroid-15ccfa97c678c45b05cc226d51287fb59a4f8b29.zip external_bluetooth_bluedroid-15ccfa97c678c45b05cc226d51287fb59a4f8b29.tar.gz external_bluetooth_bluedroid-15ccfa97c678c45b05cc226d51287fb59a4f8b29.tar.bz2 |
On Cancel discovery, do not send BT_DISCOVERY_STOPPED on
CANCEL_CMPL_EVT, but only after the HCI command complete is received for
the HCI_Inquiry_Cancel
Change-Id: I2052da7102cce653028eef18ba4d3dfeeaa2a7c8
-rwxr-xr-x | btif/src/btif_dm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c index 3699971..0032bb9 100755 --- a/btif/src/btif_dm.c +++ b/btif/src/btif_dm.c @@ -732,7 +732,6 @@ static void btif_dm_search_devices_evt (UINT16 event, char *p_param) { } break; - case BTA_DM_SEARCH_CANCEL_CMPL_EVT: case BTA_DM_DISC_CMPL_EVT: { HAL_CBACK(bt_hal_cbacks, discovery_state_changed_cb, BT_DISCOVERY_STOPPED); |