summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");