Reply for control message with invalid (not registered for reception of messages) PID should not have message information field present. This was affecting AVCTP qualification test case TP/NFR/BI-01-C. --- audio/avctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/avctp.c b/audio/avctp.c index 03f3e7f..4e0e8dc 100644 --- a/audio/avctp.c +++ b/audio/avctp.c @@ -500,7 +500,7 @@ static gboolean session_cb(GIOChannel *chan, GIOCondition cond, if (avctp->pid != htons(AV_REMOTE_SVCLASS_ID)) { avctp->ipid = 1; - avc->code = AVC_CTYPE_REJECTED; + packet_size = AVCTP_HEADER_LENGTH; goto done; } -- 1.7.11.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html