From 78a94059160d7478624cad315022255f7ebbbe80 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 19 Aug 2007 15:27:56 +0000 Subject: Improve handling of unix clients which stay connected even though the headset connection is lost --- audio/a2dp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio/a2dp.c') diff --git a/audio/a2dp.c b/audio/a2dp.c index ce50c9cf..ebf6b472 100644 --- a/audio/a2dp.c +++ b/audio/a2dp.c @@ -118,10 +118,11 @@ static void setup_callback(struct a2dp_stream_cb *cb, cb->cb(s->session, s->dev, s->stream, cb->user_data); } -static void finalize_stream_setup(struct a2dp_stream_setup *s) +static gboolean finalize_stream_setup(struct a2dp_stream_setup *s) { g_slist_foreach(setup->cb, (GFunc) setup_callback, setup); stream_setup_free(setup); + return FALSE; } static gboolean setconf_ind(struct avdtp *session, -- cgit