ar71xx: fix wndr3800 machine name
[openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 38dbedb..cc327e6 100755 (executable)
@@ -99,7 +99,9 @@ platform_check_image() {
        rocket-m | \
        wzr-hp-g300nh | \
        wzr-hp-ag300h | \
+       whr-g301n | \
        whr-hp-g300n | \
+       whr-hp-gn | \
        nbg460n_550n_550nh | \
        unifi )
                [ "$magic" != "2705" ] && {
@@ -131,7 +133,7 @@ platform_check_image() {
                }
                return 0
                ;;
-       wndr3700v2)
+       wndr3700v2|wndr3800)
                [ "$magic_long" != "33373031" ] && {
                        echo "Invalid image type."
                        return 1