aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-07-15 23:23:42 +0200
committerRafał Miłecki <rafal@milecki.pl>2018-07-17 07:17:48 +0200
commit79c8f2f50bcb2991ba0165a67d8bf3187dbb5bf2 (patch)
tree95019377f41e737791516eda24a00e1dfcd51828 /scripts
parent828eaeee2550c954ea98063e59e09980c1361de2 (diff)
downloadupstream-79c8f2f50bcb2991ba0165a67d8bf3187dbb5bf2.tar.gz
upstream-79c8f2f50bcb2991ba0165a67d8bf3187dbb5bf2.tar.bz2
upstream-79c8f2f50bcb2991ba0165a67d8bf3187dbb5bf2.zip
mtd: improve check for TRX header being already fixed
First of all lengths should be compared after checking all blocks for being good/bad. It's because requested length may differ from a final one if there were some bad blocks. Secondly it makes sense to also compare crc32 since we already have a new one calculated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions