summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 0b6d4e51..2fb139ad 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1152,7 +1152,7 @@ failed:
if (msg)
dbus_message_unref(msg);
dbus_message_unref(reply);
- hs_disconnect(NULL, NULL, hs);
+ hs_disconnect(NULL, NULL, device);
}
static DBusHandlerResult hs_connect(DBusConnection *conn, DBusMessage *msg,