From 121bb927f2728fdc9902b52967d46209ae49adae Mon Sep 17 00:00:00 2001 From: Lukasz Rymanowski Date: Tue, 2 Sep 2014 15:55:00 +0200 Subject: [PATCH] android/bluetooth: Fix status in "fake" bonding notification 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 e71f8084c..f1ceda35d 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -893,7 +893,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); -- 2.47.3