In fastboot UDP we can't send two messages without waiting for an ack
from the host in between. Do not send two messages directly after each
other in fastboot_download_finished() to make it safe to be called from
the fastboot UDD code.

Signed-off-by: Sascha Hauer <[email protected]>
---
 common/fastboot.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/common/fastboot.c b/common/fastboot.c
index a647d8ffd4..f325c6247f 100644
--- a/common/fastboot.c
+++ b/common/fastboot.c
@@ -340,9 +340,6 @@ void fastboot_download_finished(struct fastboot *fb)
 
        printf("\n");
 
-       fastboot_tx_print(fb, FASTBOOT_MSG_INFO, "Downloading %d bytes 
finished",
-                         fb->download_bytes);
-
        fastboot_tx_print(fb, FASTBOOT_MSG_OKAY, "");
 }
 
-- 
2.27.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to