diff options
author | John Crispin <john@openwrt.org> | 2015-01-22 09:35:46 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-22 09:35:46 +0000 |
commit | ae70358b1b0dc6b5881ad931213e00793d8df9c2 (patch) | |
tree | 7fe558087b429fc354018fc4f0d4f7f9bd741efe /target/linux/ar71xx/base-files/lib | |
parent | de3bf7e4c227f9947e352a4de3861c3475415f0a (diff) | |
download | mtk-20170518-ae70358b1b0dc6b5881ad931213e00793d8df9c2.zip mtk-20170518-ae70358b1b0dc6b5881ad931213e00793d8df9c2.tar.gz mtk-20170518-ae70358b1b0dc6b5881ad931213e00793d8df9c2.tar.bz2 |
ar71xx: add support for the UniFi AP Outdoor Plus
the GPIO controlling the rf filter is not configured properly by this patch.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44077
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 63f90b5..a870396 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -738,6 +738,9 @@ ar71xx_board_detect() { *"UniFiAP Outdoor") name="unifi-outdoor" ;; + *"UniFiAP Outdoor+") + name="unifi-outdoor-plus" + ;; *WP543) name="wp543" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d373699..391299f 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -369,6 +369,7 @@ platform_check_image() { return 1 ;; + unifi-outdoor-plus | \ uap-pro) [ "$magic_long" != "19852003" ] && { echo "Invalid image type." @@ -484,6 +485,7 @@ platform_do_upgrade() { om5p) platform_do_upgrade_openmesh "$ARGV" ;; + unifi-outdoor-plus | \ uap-pro) MTD_CONFIG_ARGS="-s 0x180000" default_do_upgrade "$ARGV" |