Diff between 32776f33d2c59ec025a5ada01db3e19d6c19282a and e30125fa921bc1d2c27ea47f79318ee90bbe54d5

Changed Files

File Additions Deletions Status
android/bluetooth.c +2 -0 modified

Full Patch

diff --git a/android/bluetooth.c b/android/bluetooth.c
index 39589fa..b7c05e7 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -1356,6 +1356,8 @@ static void mgmt_index_added_event(uint16_t index, uint16_t length,
 		return;
 	}
 
+	adapter.index = index;
+
 	if (mgmt_send(mgmt_if, MGMT_OP_READ_INFO, index, 0, NULL,
 				read_info_complete, cb, NULL) == 0) {
 		cb(-EIO, NULL);