When sending "fake" bonding" we should use SUCCESS status --- android/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index 7c3c198..94ddf75 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -891,7 +891,7 @@ static void update_bond_state(struct device *dev, uint8_t status, */ if (old_bond == HAL_BOND_STATE_NONE && new_bond == HAL_BOND_STATE_BONDED) - send_bond_state_change(dev, status, + send_bond_state_change(dev, HAL_STATUS_SUCCESS, HAL_BOND_STATE_BONDING); send_bond_state_change(dev, status, new_bond); -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html