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:8634c1080d("ipq40xx: Fix Linksys upgrade, restore config step") Fixes:2715aff5df("ipq806x: Fix Linksys upgrade, restore config step") Signed-off-by: Michael Trinidad <trinidude4@hotmail.com>
This commit is contained in:
		 Michael Trinidad
					Michael Trinidad
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							d1c1e10e89
						
					
				
				
					commit
					ff91a12c8d
				
			| @@ -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 | ||||
|  | ||||
| 	} | ||||
|   | ||||
| @@ -97,7 +97,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 | ||||
|  | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user