ar71xx: fix upgrade platform check for Compex WPJ558
authorEnrique Giraldo <enrique.giraldo@galgus.net>
Thu, 6 Jul 2017 13:46:42 +0000 (15:46 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 9 Jul 2017 21:46:30 +0000 (23:46 +0200)
The magic number was wrong and always marked the images as invalid.

Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index bb0d9d5ea98a4fdd2867dbf3521c693240cfa63b..cf51fe2d80593479c39a26de3642bf5d15b48b36 100755 (executable)
@@ -287,6 +287,7 @@ platform_check_image() {
        wpj342|\
        wpj344|\
        wpj531|\
+       wpj558|\
        wpj563|\
        wrt400n|\
        wrtnode2q|\
@@ -323,7 +324,6 @@ platform_check_image() {
        hornet-ub|\
        mr12|\
        mr16|\
-       wpj558|\
        zbt-we1526|\
        zcn-1523h-2|\
        zcn-1523h-5)