Commit d0800609 authored by Johannes Berg's avatar Johannes Berg Committed by Richard Weinberger

um: time-travel: Return the sequence number in ACK messages

For external time travel, the protocol says to return the
incoming sequence number in the ACK message to aid debugging,
so do that.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Acked-By: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent ebef8ea2
...@@ -106,6 +106,7 @@ static void time_travel_handle_message(struct um_timetravel_msg *msg, ...@@ -106,6 +106,7 @@ static void time_travel_handle_message(struct um_timetravel_msg *msg,
break; break;
} }
resp.seq = msg->seq;
os_write_file(time_travel_ext_fd, &resp, sizeof(resp)); os_write_file(time_travel_ext_fd, &resp, sizeof(resp));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment