xyz-modem: Fix x-modem "xyzModem_eof error" at the end of file
authorPali Rohár <pali@kernel.org>
Tue, 3 Aug 2021 14:28:39 +0000 (16:28 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Sep 2021 18:32:40 +0000 (14:32 -0400)
commit15c27a5a223717041d4acba8a07db846df674073
tree513bb51b2e99af3c29eba316ac744061e1ac8c0b
parent1e7478461bb4e8842f1ca8e5ffb5a441041b0753
xyz-modem: Fix x-modem "xyzModem_eof error" at the end of file

In x-modem protocol EOF is not an error state at the end of file.

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