This call was missing, so services were never changing its state properly and never called profiles disconnect callback function as well. --- src/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/device.c b/src/device.c index 9021914..d4fe861 100644 --- a/src/device.c +++ b/src/device.c @@ -4479,6 +4479,7 @@ static void att_disconnected_cb(int err, void *user_data) DBG("%s (%d)", strerror(err), err); g_slist_foreach(device->attios, attio_disconnected, NULL); + g_slist_foreach(device->services, dev_disconn_service, NULL); btd_gatt_client_disconnected(device->client_dbus); -- 2.5.0 -- 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