Diff between edb6ade25d395275585a9b52c2d7a22da6f57107 and 37965985203fbdcb271ceadeca2733387b209cb4
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +3 | -0 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index c3eaf45..78a925c 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2027,6 +2027,9 @@ void device_set_auto_connect(struct btd_device *device, gboolean enable)
return;
}
+ if (device->attios == NULL && device->attios_offline == NULL)
+ return;
+
g_idle_add(att_connect, device);
}