Diff between 9bfc21c2dd0b865097093582192ccb5f1dd4ffe2 and cc4838e601df2daee66dfd94c264cface3e67651
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +1 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index 39aa0cb..fc8c31a 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3101,7 +3101,7 @@ guint btd_device_add_attio_callback(struct btd_device *device,
} else {
device->attios = g_slist_append(device->attios, attio);
}
- } else {
+ } else if (device->auto_id == 0) {
device->auto_id = g_idle_add_full(G_PRIORITY_DEFAULT_IDLE,
att_connect, device,
att_connect_dispatched);