From 304fd14c0b4f450011f0b468cf4d383c96aaee89 Mon Sep 17 00:00:00 2001 From: zzy Date: Wed, 29 Aug 2012 17:34:18 -0700 Subject: fixed the issue that remote unpaired device not removed from config file root cause: forgot to remove the device from storage when bound is canceled Bug 7077419 --- btif/src/btif_dm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'btif') diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c index 90131aa..5eb46a0 100755 --- a/btif/src/btif_dm.c +++ b/btif/src/btif_dm.c @@ -1546,6 +1546,7 @@ bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr) } /* Cancel bonding, in case it is in ACL connection setup state */ BTA_DmBondCancel ((UINT8 *)bd_addr->address); + btif_storage_remove_bonded_device((bt_bdaddr_t *)bd_addr); } return BT_STATUS_SUCCESS; -- cgit v1.1