mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-25 22:41:01 +01:00
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>