diff options
author | Andreas Ziegler <dev@andreas-ziegler.de> | 2019-10-22 22:44:29 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-10-23 12:31:48 +0200 |
commit | 2bc7c519dcc0e7ca09feed24a3b9a105bc49f423 (patch) | |
tree | 1285885304c82283dbaad40df7fc0c0ee7b039f8 /target/linux/ar71xx/image/generic-ubnt.mk | |
parent | 7f187229a8e9b7966248b1e024217e07a9fc3e50 (diff) | |
download | upstream-2bc7c519dcc0e7ca09feed24a3b9a105bc49f423.tar.gz upstream-2bc7c519dcc0e7ca09feed24a3b9a105bc49f423.tar.bz2 upstream-2bc7c519dcc0e7ca09feed24a3b9a105bc49f423.zip |
ar71xx: add model detection for UniFi AC-LR
This commit adds correct model detection for UniFi
AC-LR. Previously, said device was incorrectly detected
as UniFi-AC-LITE/MESH.
The Information about the device is stored at 0xC in the EEPROM
partition. It corresponds to the sysid in /etc/board.info of the
Ubiquiti stock firmware.
Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de>
[adjust naming style of target to existing ones]
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ar71xx/image/generic-ubnt.mk')
-rw-r--r-- | target/linux/ar71xx/image/generic-ubnt.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/generic-ubnt.mk b/target/linux/ar71xx/image/generic-ubnt.mk index 5a4517f81f..b82ac8686f 100644 --- a/target/linux/ar71xx/image/generic-ubnt.mk +++ b/target/linux/ar71xx/image/generic-ubnt.mk @@ -138,6 +138,12 @@ define Device/ubnt-unifiac-lite endef TARGET_DEVICES += ubnt-unifiac-lite +define Device/ubnt-unifiac-lr + $(Device/ubnt-unifiac-lite) + DEVICE_TITLE := Ubiquiti UniFi AC-LR +endef +TARGET_DEVICES += ubnt-unifiac-lr + define Device/ubnt-unifiac-mesh $(Device/ubnt-unifiac-lite) DEVICE_TITLE := Ubiquiti UniFi AC-Mesh |