From b9e35900865a26486c331f5feeccaec997f822fc Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 27 Feb 2009 10:36:25 -0300 Subject: Reset request id whenever a response is generated. --- audio/unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit