Diff between 42e9b8db92d5d8725e9a1bfd93a5c6a257186776 and 4423d63a9634e62cb41d1b1b53cf360edd927f98
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +4 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index 7114e1b..b0309a1 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3107,8 +3107,11 @@ static DBusMessage *cancel_pairing(DBusConnection *conn, DBusMessage *msg,
DBG("");
- if (!req)
+ if (!req) {
+ btd_adapter_remove_bonding(device->adapter, &device->bdaddr,
+ device->bdaddr_type);
return btd_error_does_not_exist(msg);
+ }
device_cancel_bonding(device, MGMT_STATUS_CANCELLED);