openwrt/package/system/mtd
Rafał Miłecki 79c8f2f50b 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 82498a7f7a)
2018-07-17 07:17:48 +02:00
..
src mtd: improve check for TRX header being already fixed 2018-07-17 07:17:48 +02:00
Makefile mtd: improve check for TRX header being already fixed 2018-07-17 07:17:48 +02:00