diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2009-02-27 10:36:25 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-03-04 15:29:03 -0300 |
commit | b9e35900865a26486c331f5feeccaec997f822fc (patch) | |
tree | 710c5ccaf3af8cd47c3c0fcbc00d5b3d4970c40a /audio | |
parent | a37210e15f8acc532d1955585b032c89256d8fb7 (diff) |
Reset request id whenever a response is generated.
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; |