ar71xx: Unifi AP Pro sysupgrade patch
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index ae04a8c3197ecedcc4edd53f43914173c2ba2bc6..1eb9354057548529b91f1db04b5bbb9d66b8c46a 100755 (executable)
@@ -190,6 +190,8 @@ platform_check_image() {
        tl-mr3420 | \
        tl-mr3420-v2 | \
        tl-wa7510n | \
+       tl-wa750re | \
+       tl-wa850re | \
        tl-wa901nd | \
        tl-wa901nd-v2 | \
        tl-wdr3500 | \
@@ -325,6 +327,10 @@ platform_do_upgrade() {
        om2p-lc)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
+       uap-pro)
+               MTD_CONFIG_ARGS="-s 0x180000"
+               default_do_upgrade "$ARGV"
+               ;;
        *)
                default_do_upgrade "$ARGV"
                ;;