diff --git a/android/bluetooth.c b/android/bluetooth.c
index 64a7696..1422fb0 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
DBG("status %u", status);
- /*
- * On success bond state change will be send when new link key or LTK
- * event is received
- */
- if (status == MGMT_STATUS_SUCCESS)
- return;
-
dev = find_device(&rp->addr.bdaddr);
if (!dev)
return;
+ /*
+ * Update pairing and paired status. Bonded status will be updated once
+ * any link key come
+ */
update_device_state(dev, rp->addr.type, status_mgmt2hal(status), false,
- false, false);
+ !status, false);
}
static uint8_t select_device_bearer(struct device *dev)