Diff between 8f85b820e67373e84144972f8308bed71a6f2096 and fda5d9f6387f00fef457ecc1d5f596fab07458ed
Changed Files
| File | Additions | Deletions | Status |
| audio/avctp.c | +3 | -1 | modified |
Full Patch
diff --git a/audio/avctp.c b/audio/avctp.c
index 1bc2a1d..5f9afa1 100644
--- a/audio/avctp.c
+++ b/audio/avctp.c
@@ -982,7 +982,7 @@ int avctp_send_vendordep_req(struct avctp *session, uint8_t code,
struct avctp_rsp_handler *handler;
int err;
- err = avctp_send(session, id++, AVCTP_COMMAND, code, subunit,
+ err = avctp_send(session, id, AVCTP_COMMAND, code, subunit,
AVC_OP_VENDORDEP, operands, operand_count);
if (err < 0)
return err;
@@ -994,6 +994,8 @@ int avctp_send_vendordep_req(struct avctp *session, uint8_t code,
session->handlers = g_slist_prepend(session->handlers, handler);
+ id++;
+
return 0;
}