summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-06-06 10:11:06 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-06-06 10:11:06 +0000
commite47ffdb86e691d7418c0e5a2bebbdd7c512aa50f (patch)
treeaad2803c756ecd051b2a087a7b41c3343049ec66
parentd951ee9dae5061b8db7ef875e2f477d4445557a4 (diff)
Fix passing the right parameter to hs_disconnect
-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,