Diff between d3750509b3eb82449739979ba905adb9423ecc69 and 3a916a006756aff954565f613c6163bb59dae26a

Changed Files

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

Full Patch

diff --git a/audio/control.c b/audio/control.c
index 9ede0f2..3db7d8e 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -566,7 +566,7 @@ static gboolean control_cb(GIOChannel *chan, GIOCondition cond,
 	} else if (avctp->pid != htons(AV_REMOTE_SVCLASS_ID)) {
 		avctp->ipid = 1;
 		avctp->cr = AVCTP_RESPONSE;
-		avrcp->code = CTYPE_REJECTED;
+		packet_size = sizeof(*avctp);
 	} else if (avctp->cr == AVCTP_COMMAND &&
 			avrcp->code == CTYPE_CONTROL &&
 			avrcp->subunit_type == SUBUNIT_PANEL &&