summaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@open-mesh.com>2016-05-17 17:51:35 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-23 12:19:23 +0200
commitd1b4a8cfcfb8f3965b79d199993bc847004a7419 (patch)
tree851a2794282536bacbeaabdb9d746270b26db99f /target/linux/mediatek
parent6150c15ad109e49958cb393915679afa1bf12368 (diff)
downloadmaster-31e0f0ae-d1b4a8cfcfb8f3965b79d199993bc847004a7419.tar.gz
master-31e0f0ae-d1b4a8cfcfb8f3965b79d199993bc847004a7419.tar.bz2
master-31e0f0ae-d1b4a8cfcfb8f3965b79d199993bc847004a7419.zip
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>
Diffstat (limited to 'target/linux/mediatek')
0 files changed, 0 insertions, 0 deletions