summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/headset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 9a7daef0..728d38d2 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1542,6 +1542,8 @@ int main(int argc, char *argv[])
exit(1);
}
+ connection = system_bus;
+
if (setup_dbus(system_bus) < 0) {
error("Connection setup failed");
dbus_connection_unref(system_bus);