diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/unix.c b/audio/unix.c index f66ffc71..575617b3 100644 --- a/audio/unix.c +++ b/audio/unix.c @@ -509,11 +509,12 @@ static void a2dp_config_complete(struct avdtp *session, struct a2dp_sep *sep, uint16_t imtu, omtu; GSList *caps; + client->req_id = 0; + if (err) goto failed; memset(buf, 0, sizeof(buf)); - client->req_id = 0; if (!stream) goto failed; |