summaryrefslogtreecommitdiffstats
path: root/btif
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-06-06 17:17:22 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:22 -0700
commit8d783688a5ab09cd7fff2652306f5c15af65fcea (patch)
treef07ba0aae0b227a38ab38c05b2664d970e37bb16 /btif
parent33b0957d838b348e9459ed5b988cf59344a0d41c (diff)
downloadexternal_bluetooth_bluedroid-8d783688a5ab09cd7fff2652306f5c15af65fcea.zip
external_bluetooth_bluedroid-8d783688a5ab09cd7fff2652306f5c15af65fcea.tar.gz
external_bluetooth_bluedroid-8d783688a5ab09cd7fff2652306f5c15af65fcea.tar.bz2
Not invoking adapter_bonded_devices_cb on Pairing.
Calling adapter_bonded_devices_cb on Pairing was causing a race condition in certain scenario which resulted in bond_state_change intent being dropped. Change-Id: Ifa98331ad3a89d5b48b01f91a70db7fa660c7b26
Diffstat (limited to 'btif')
-rwxr-xr-xbtif/src/btif_dm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index e2ab8c5..1af1e0c 100755
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -285,13 +285,6 @@ static void bond_state_changed(bt_status_t status, bt_bdaddr_t *bd_addr, bt_bond
else
{
memset(&pairing_cb, 0, sizeof(pairing_cb));
- char buf[512];
- bt_property_t prop;
- prop.type = BT_PROPERTY_ADAPTER_BONDED_DEVICES;
- prop.val = (void*)buf;
- prop.len = sizeof(buf);
- status = btif_storage_get_adapter_property(&prop);
- HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, status, 1, &prop);
}
}