summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-08-29 19:08:22 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-29 19:08:22 -0700
commitf8de9838ecff656343af5cb9c692b4944e6fe716 (patch)
tree672e855151a69a6b2feba23586f0fe20bbd2dc29
parent9c4e2421f490a3a8453e6a779258aa377b7d6600 (diff)
parent304fd14c0b4f450011f0b468cf4d383c96aaee89 (diff)
downloadexternal_bluetooth_bluedroid-f8de9838ecff656343af5cb9c692b4944e6fe716.zip
external_bluetooth_bluedroid-f8de9838ecff656343af5cb9c692b4944e6fe716.tar.gz
external_bluetooth_bluedroid-f8de9838ecff656343af5cb9c692b4944e6fe716.tar.bz2
Merge "fixed the issue that remote unpaired device not removed from config file" into jb-mr1-dev
-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;