Fix set_configuration reject response

This commit is contained in:
Johan Hedberg 2007-08-12 16:36:13 +00:00
parent 05f4ffa361
commit 6b51b1ff24

View File

@ -694,6 +694,7 @@ static gboolean avdtp_setconf_cmd(struct avdtp *session,
if (!lsep || !lsep->stream) {
init_response(&rej.header, &req->header, FALSE);
rej.error = AVDTP_BAD_ACP_SEID;
rej.category = 0x00; /* 0x00 means "not applicable" */
return avdtp_send(session, &rej, sizeof(rej));
}