mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 19:27:27 +00:00
1086408b17
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
|
||
---|---|---|
.. | ||
crc32.c | ||
crc32.h | ||
fis.c | ||
fis.h | ||
imagetag.c | ||
jffs2.c | ||
jffs2.h | ||
linksys_bootcount.c | ||
Makefile | ||
md5.c | ||
md5.h | ||
mtd.c | ||
mtd.h | ||
seama.c | ||
seama.h | ||
trx.c | ||
wrg.c | ||
wrgg.c | ||
wrgg.h |