Rafał Miłecki 1086408b17 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)
2018-07-16 23:18:45 +02:00
..
2018-02-11 14:39:16 +01:00
2018-03-28 17:42:40 +08:00
2018-05-14 07:16:47 +02:00
2018-01-20 20:22:01 +01:00
2018-03-27 13:49:49 +02:00