mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "rpmsg: slatecom: maintain rx_size to read"
This commit is contained in:
commit
5028cb01e9
1 changed files with 2 additions and 2 deletions
|
|
@ -1935,7 +1935,7 @@ static void glink_slatecom_process_cmd(struct glink_slatecom *glink, void *rx_da
|
|||
case SLATECOM_CMD_CLOSE_ACK:
|
||||
glink_slatecom_rx_defer(glink,
|
||||
rx_data + offset - sizeof(*msg),
|
||||
rx_size + offset - sizeof(*msg), 0);
|
||||
rx_size - offset + sizeof(*msg), 0);
|
||||
break;
|
||||
case SLATECOM_CMD_RX_INTENT_REQ:
|
||||
glink_slatecom_handle_intent_req(glink, param1, param2);
|
||||
|
|
@ -1948,7 +1948,7 @@ static void glink_slatecom_process_cmd(struct glink_slatecom *glink, void *rx_da
|
|||
name = rx_data + offset;
|
||||
glink_slatecom_rx_defer(glink,
|
||||
rx_data + offset - sizeof(*msg),
|
||||
rx_size + offset - sizeof(*msg),
|
||||
rx_size - offset + sizeof(*msg),
|
||||
ALIGN(name_len, SLATECOM_ALIGNMENT));
|
||||
|
||||
offset += ALIGN(name_len, SLATECOM_ALIGNMENT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue