summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-08-08 22:57:18 +0200
committerWim Taymans <wtaymans@redhat.com>2014-08-08 22:57:18 +0200
commitf9e9cddf52c06a21f2e2cae35f16f9b5368c6638 (patch)
treed43a5c9a2fc98d8dd9bf7314b821557b53932075
parentb3b0d61933e518c583b540c628879e22a179d410 (diff)
headset: set headset variablemodule-headsetheadsetd
-rw-r--r--src/modules/module-headset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/module-headset.c b/src/modules/module-headset.c
index c40188b30..1a246da76 100644
--- a/src/modules/module-headset.c
+++ b/src/modules/module-headset.c
@@ -1029,6 +1029,7 @@ static pa_headset * new_headset (struct userdata *u, const char *path, DBusMessa
goto fail;
h->msg->parent.process_msg = device_process_msg;
+ h->msg->headset = h;
if (headset_connect(h) < 0) {
pa_log("Unable to connect\n");