Diff between 069cef5daac487c81dffe7b712f71af73987501d and 06a7852b69eda34ad5da609897c46191cffc4973

Changed Files

File Additions Deletions Status
audio/avctp.c +1 -1 modified

Full Patch

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;
 	}