aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx
diff options
context:
space:
mode:
authorMichael Trinidad <trinidude4@hotmail.com>2023-04-07 09:10:29 -0400
committerHauke Mehrtens <hauke@hauke-m.de>2023-04-11 12:22:35 +0200
commitff91a12c8db4e09105d06448a8114bd52ae17425 (patch)
treeb0333311473d2e76f0cbe215d252fa9daeaf5624 /target/linux/ipq40xx
parentd1c1e10e89f144a850fd09743e268b499e9f2b2a (diff)
downloadupstream-ff91a12c8db4e09105d06448a8114bd52ae17425.tar.gz
upstream-ff91a12c8db4e09105d06448a8114bd52ae17425.tar.bz2
upstream-ff91a12c8db4e09105d06448a8114bd52ae17425.zip
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>
Diffstat (limited to 'target/linux/ipq40xx')
-rw-r--r--target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh b/target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh
index 696f653eb9..18366fc622 100644
--- a/target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh
+++ b/target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh
@@ -103,7 +103,7 @@ platform_do_upgrade_linksys() {
if nand_upgrade_tar "$1" ; then
nand_do_upgrade_success
else
- nand_do_upgrade_failure
+ nand_do_upgrade_failed
fi
}