summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzy <zhenye@broadcom.com>2012-08-29 17:34:18 -0700
committerMatthew Xie <mattx@google.com>2012-08-29 19:04:37 -0700
commit304fd14c0b4f450011f0b468cf4d383c96aaee89 (patch)
tree076a5bd613582c37286625fe2a3c15458924f104
parent66c09fca910e0bb4066fbf6268592f78dfaec3c5 (diff)
downloadexternal_bluetooth_bluedroid-304fd14c0b4f450011f0b468cf4d383c96aaee89.zip
external_bluetooth_bluedroid-304fd14c0b4f450011f0b468cf4d383c96aaee89.tar.gz
external_bluetooth_bluedroid-304fd14c0b4f450011f0b468cf4d383c96aaee89.tar.bz2
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
-rwxr-xr-xbtif/src/btif_dm.c1
1 files changed, 1 insertions, 0 deletions
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;