commit | 8398dd3b1d80bfdeb1bffafdf5bf86740aa28c81 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Fri Aug 06 18:07:39 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 01 19:25:37 2021 -0400 |
tree | 6a32a08561e1ff53fd8290cbd159e5c4024fa8eb | |
parent | a5330a1b0ad119023e5b6b9ea427b6e3cba4001b [diff] |
loadb: Properly indicate aborted kermit transfer When k_recv() returns zero it indicates that kermit transfer was aborted. Function do_load_serial_bin() (caller of load_serial_bin()) interprets value ~0 as aborted transfer, so properly propagates information about aborted transfer from k_recv() to do_load_serial_bin(). Signed-off-by: Pali Rohár <pali@kernel.org>