Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56e0a483 authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam Committed by Chris Lew
Browse files

rpmsg: glink: use correct data pointer in packets larger than 8k



Only first 8K data is sending repeatedly in split and sending case.

Update data pointer with correct index while sending split packets.

CRs-Fixed: 2391918
Change-Id: I48925c0249c8849a6df388de1b98aa5b2a524e2e
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent 37d78dea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1505,6 +1505,7 @@ static int __qcom_glink_send(struct glink_channel *channel,
	}

	while (left_size > 0) {
		data = (void *)((char *)data + chunk_size);
		chunk_size = left_size;
		if (chunk_size > SZ_8K)
			chunk_size = SZ_8K;