diff options
| author | Pali Rohár <[email protected]> | 2021-10-27 20:56:58 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-11-03 06:45:27 +0100 |
| commit | 455c0d22fb084550ecc6aaf810a9c7b684b2dee0 (patch) | |
| tree | 6b1586a3d021aa897e859180bad37c14ca813826 /scripts | |
| parent | a6fcac274a99c9675f4b6841321e085c79326429 (diff) | |
tools: kwboot: Fix sending retry of last header packet
After the trasfer of last header packet, it is possible that baudrate
change pattern is received, and also that NAK byte is received so that
the packet should be sent again.
Thus we should not clear the baudrate change state when sending retry
of that packet.
Move code for initializing state variables from kwboot_xm_recv_reply()
to kwboot_xm_sendblock().
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
