summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/bluetooth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index d519ac92..6b0b69a0 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -87,6 +87,9 @@ static int bluetooth_init(void)
return -EIO;
}
+ if (g_dbus_check_service(connection, BLUEZ_SERVICE) == TRUE)
+ bluetooth_connect(connection, NULL);
+
return 0;
}