]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tftp: fix progress marker for file transfer
authorRavik Hasija <rahasij@linux.microsoft.com>
Thu, 7 May 2020 21:55:32 +0000 (14:55 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commitde5468e660742c4d2c2cbfc39e106fc647570110
treeb5005cb67a5f0d1dea275435628f2ca5661aefe2
parent8882238cc4c1276629c989ea1fe71b15358a5040
net: tftp: fix progress marker for file transfer

During packet sequence number wraparound the show_block_marker() API was
not called, as a result the progress marker doesn't stay within column
boundary. Use position in file instead of sequence number to align the
marker.

Signed-off-by: Ravik Hasija <rahasij@linux.microsoft.com>
Reviewed-By: Ramon Fried <rfried.dev@gmail.com>
net/tftp.c