openwrtv4/target/linux/ar71xx/base-files/lib/upgrade
Sven Eckelmann d1b4a8cfcf ar71xx: Move OpenMesh image target validation into subfunction
The platform_check_image_openmesh function used break statements to signal
that the board name matched the image target. This worked because the
sysupgrade binary checked the image inside a loop. The break statement
stopped the loop and skipped any additional check.

Instead the check should be done without such sideeffects by simply
combining the board names and image targets. Only a mismatch should cause a
negative result for the caller and skipping of the additional checks.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-23 12:19:23 +02:00
..
allnet.sh ar71xx: Fix sysupgrades for Allnet and OpenMesh devices 2013-10-20 15:59:05 +00:00
dir825.sh ar71xx: use mtd_get_part_size helper 2013-07-20 09:26:57 +00:00
merakinand.sh ar71xx: Update merakinand.sh to fix sysupgrade 2015-12-13 18:05:42 +00:00
openmesh.sh ar71xx: Move OpenMesh image target validation into subfunction 2016-05-23 12:19:23 +02:00
platform.sh ar71xx: add support for TP-LINK TL-WR842N/ND v3 2016-05-14 21:45:16 +02:00