From 8d783688a5ab09cd7fff2652306f5c15af65fcea Mon Sep 17 00:00:00 2001 From: Kausik Sinnaswamy Date: Wed, 6 Jun 2012 17:17:22 +0530 Subject: 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 --- btif/src/btif_dm.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'btif') 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); } } -- cgit v1.1