diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/unix.c b/audio/unix.c index 2255b263..f66ffc71 100644 --- a/audio/unix.c +++ b/audio/unix.c @@ -523,6 +523,10 @@ static void a2dp_config_complete(struct avdtp *session, struct a2dp_sep *sep, goto failed; } + if (client->cb_id > 0) + avdtp_stream_remove_cb(a2dp->session, a2dp->stream, + client->cb_id); + a2dp->sep = sep; a2dp->stream = stream; |