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: Arun Kumar Neelakantam <aneela@codeaurora.org>
This commit is contained in:
parent
37d78deabf
commit
56e0a4832c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue