diff options
author | Henryk Heisig <hyniu@o2.pl> | 2016-10-06 23:46:38 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-18 09:18:55 +0200 |
commit | f5aa4590433638e6b2c191412fa802ae5a64cdc9 (patch) | |
tree | 731058742aa98d85eec3184545fae87374ba8492 /target/linux/ar71xx/base-files/lib | |
parent | 6bb11d52f3ae8ce8aa0a270c6ae305809af8b7ce (diff) | |
download | upstream-f5aa4590433638e6b2c191412fa802ae5a64cdc9.tar.gz upstream-f5aa4590433638e6b2c191412fa802ae5a64cdc9.tar.bz2 upstream-f5aa4590433638e6b2c191412fa802ae5a64cdc9.zip |
ar71xx: Add support to TP-Link EAP120
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 7 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 940c1c95de..1492b50774 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -361,6 +361,9 @@ tplink_pharos_board_detect() { 'CPE520(TP-LINK|UN|N300-5)') model='TP-Link CPE520' ;; + 'EAP120(TP-LINK|UN|N300-2)') + model='TP-Link EAP120' + ;; esac [ -n "$model" ] && AR71XX_MODEL="$model v$2" @@ -563,6 +566,10 @@ ar71xx_board_detect() { *"Domino Pi") name="gl-domino" ;; + *"EAP120") + name="eap120" + tplink_pharos_board_detect + ;; *"EAP300 v2") name="eap300v2" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 7c554e3f29..35e9bb4391 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -433,7 +433,8 @@ platform_check_image() { return $? ;; cpe210|\ - cpe510) + cpe510|\ + eap120) tplink_pharos_check_image "$1" && return 0 return 1 ;; |