summaryrefslogtreecommitdiffstats
path: root/btif
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-04-12 23:33:21 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:16 -0700
commit15ccfa97c678c45b05cc226d51287fb59a4f8b29 (patch)
treeab50e8c692ec2cc7d9a0b48c705050dcb30206c2 /btif
parenta6afead7e9b38befe168b437ac942696e54b64e3 (diff)
downloadexternal_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
Diffstat (limited to 'btif')
-rwxr-xr-xbtif/src/btif_dm.c1
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);