openwrtv4/target/linux/ar71xx/base-files
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
..
etc ar71xx: add support for TP-LINK TL-WR842N/ND v3 2016-05-14 21:45:16 +02:00
lib ar71xx: Move OpenMesh image target validation into subfunction 2016-05-23 12:19:23 +02:00
sbin ar71xx: rename 'nand' subtarget to 'mikrotik' 2013-10-23 15:43:26 +00:00