aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-10-06 23:46:38 +0200
committerJohn Crispin <john@phrozen.org>2016-10-18 09:18:55 +0200
commitf5aa4590433638e6b2c191412fa802ae5a64cdc9 (patch)
tree731058742aa98d85eec3184545fae87374ba8492 /target/linux/ar71xx/base-files/lib/ar71xx.sh
parent6bb11d52f3ae8ce8aa0a270c6ae305809af8b7ce (diff)
downloadupstream-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/ar71xx.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh7
1 files changed, 7 insertions, 0 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"
;;