summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;