summaryrefslogtreecommitdiffstats
path: root/audio/a2dp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-28 12:22:29 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-28 12:22:29 +0000
commitd1fb0b25a9882016de70f102408f10101b348e57 (patch)
treee9a28f98b63eec38c78e8df150198d63635a50de /audio/a2dp.c
parent10abd63aeb3665b2dcade32b6397a485579638ec (diff)
Fix unix client disconnects before headset has been successfully connected
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r--audio/a2dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c
index fad9bd25..5e08b25b 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -880,7 +880,7 @@ static void discovery_complete(struct avdtp *session, GSList *seps, int err,
sink_new_stream(setup->dev, session, setup->stream);
}
-gboolean a2dp_source_cancel_stream(int id)
+gboolean a2dp_source_cancel_stream(struct device *dev, unsigned int id)
{
struct a2dp_stream_cb *cb_data;
GSList *l;