[PATCH 2/2] android/bluetooth: Update bonding state after receiving new CSRK.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Set bonded state if received new CSRK.
---
 android/bluetooth.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/android/bluetooth.c b/android/bluetooth.c
index 092bdd7..56c1282 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -1992,6 +1992,9 @@ static void new_csrk_callback(uint16_t index, uint16_t length,
 		return;
 	}
 
+	update_device_state(dev, ev->key.addr.type, HAL_STATUS_SUCCESS, false,
+							true, !!ev->store_hint);
+
 	if (ev->store_hint)
 		store_csrk(dev);
 }
-- 
1.9.3

--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux