base-files: fix Linksys upgrade, restore config step
authorMichael Trinidad <trinidude4@hotmail.com>
Fri, 7 Apr 2023 13:10:29 +0000 (09:10 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 11 Apr 2023 10:22:35 +0000 (12:22 +0200)
commitff91a12c8db4e09105d06448a8114bd52ae17425
treeb0333311473d2e76f0cbe215d252fa9daeaf5624
parentd1c1e10e89f144a850fd09743e268b499e9f2b2a
base-files: fix Linksys upgrade, restore config step

It appears that the refactor of the upgrade process for NAND devices                                                                                                                            resulted in the nand_do_upgrade_success step not being called for
devices using the linksys.sh script. As a result, configuration was
not preserved over sysupgrade steps.

This corrects a typo in the call of nand_do_upgrade_failed for ipq40xx
and ipq806x devices using the linksys.sh script.

Fixes: 8634c1080d50 ("ipq40xx: Fix Linksys upgrade, restore config step")
Fixes: 2715aff5df83 ("ipq806x: Fix Linksys upgrade, restore config step")
Signed-off-by: Michael Trinidad <trinidude4@hotmail.com>
target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh
target/linux/ipq806x/base-files/lib/upgrade/linksys.sh