Rafał Miłecki 82498a7f7a 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>
2018-07-15 23:27:09 +02:00
..
2018-07-07 14:53:26 +02:00
2018-07-13 16:36:56 +02:00
2018-07-07 18:33:58 +02:00
2018-07-15 22:35:22 +02:00
2018-07-13 17:22:53 +02:00