diff options
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/audio/a2dp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c index 276512208..47b5dd7c3 100644 --- a/profiles/audio/a2dp.c +++ b/profiles/audio/a2dp.c @@ -2522,7 +2522,8 @@ static void confirm_cb(GIOChannel *io, gpointer data) if (!setup || !setup->stream) goto drop; - if (setup->io) { + if (setup->io || avdtp_stream_get_transport(setup->stream, + NULL, NULL, NULL, NULL)) { error("transport channel already exists"); goto drop; } |