summaryrefslogtreecommitdiffstats
path: root/audio/a2dp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-19 15:27:56 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-19 15:27:56 +0000
commit78a94059160d7478624cad315022255f7ebbbe80 (patch)
tree0540f729abd73d2353ae716da22abcdf73709fec /audio/a2dp.c
parenta20ed567f6904e0dbf63aac5b45aa1fdd50f45de (diff)
Improve handling of unix clients which stay connected even though the headset connection is lost
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r--audio/a2dp.c3
1 files changed, 2 insertions, 1 deletions
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,