xyz-modem: Properly abort/terminate transfer on error
authorPali Rohár <pali@kernel.org>
Tue, 3 Aug 2021 14:28:42 +0000 (16:28 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Sep 2021 18:32:41 +0000 (14:32 -0400)
commit081bd249d119ecad114fd2560974688d8a5ce059
tree95e8da65003a4195953e10e5c93c7a4e1cca2dcb
parent1f26c49ea1d968ff59abe804af14314d5f5dc8de
xyz-modem: Properly abort/terminate transfer on error

Transfer termination tries to instruct sender that transfer was terminated.

Print error message and indicates aborted transfer in return value.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/load.c