From e47ffdb86e691d7418c0e5a2bebbdd7c512aa50f Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 6 Jun 2007 10:11:06 +0000 Subject: Fix passing the right parameter to hs_disconnect --- audio/headset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/headset.c') 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, -- cgit