summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-02-27 10:36:25 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2009-03-04 15:29:03 -0300
commitb9e35900865a26486c331f5feeccaec997f822fc (patch)
tree710c5ccaf3af8cd47c3c0fcbc00d5b3d4970c40a
parenta37210e15f8acc532d1955585b032c89256d8fb7 (diff)
Reset request id whenever a response is generated.
-rw-r--r--audio/unix.c3
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;