Fix trail data missed at some sparse fileuuu_1.4.139
commit1a8f76083c2fb37c3d7b0015641fe9f792e5c46e
authorFrank Li <frank.li@nxp.com>
Wed, 2 Jun 2021 17:09:13 +0000 (2 12:09 -0500)
committerFrank Li <frank.li@nxp.com>
Wed, 2 Jun 2021 17:12:54 +0000 (2 12:12 -0500)
tree9405a9524df27a1beeedeeae34d92dd61e7bb8c2
parent051a8fee7c69534f787951e5842aeec1e6515a71
Fix trail data missed at some sparse file

roll back pos to previous failure chunck and let it push again into new
sparse filecan't push it here because next chuck may big size. current
blk number need reduce because previous push failure.

without this change, last some chunck will be missed

Signed-off-by: Frank Li <frank.li@nxp.com>
libuuu/fastboot.cpp