mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-12 05:35:38 +00:00
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>
This commit is contained in:
parent
7f187229a8
commit
2bc7c519dc
@ -111,6 +111,9 @@ ubnt_unifi_ac_board_detect() {
|
|||||||
"e517")
|
"e517")
|
||||||
model="Ubiquiti UniFi-AC-LITE"
|
model="Ubiquiti UniFi-AC-LITE"
|
||||||
;;
|
;;
|
||||||
|
"e527")
|
||||||
|
model="Ubiquiti UniFi-AC-LR"
|
||||||
|
;;
|
||||||
"e537")
|
"e537")
|
||||||
model="Ubiquiti UniFi-AC-PRO"
|
model="Ubiquiti UniFi-AC-PRO"
|
||||||
;;
|
;;
|
||||||
|
@ -138,6 +138,12 @@ define Device/ubnt-unifiac-lite
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ubnt-unifiac-lite
|
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
|
define Device/ubnt-unifiac-mesh
|
||||||
$(Device/ubnt-unifiac-lite)
|
$(Device/ubnt-unifiac-lite)
|
||||||
DEVICE_TITLE := Ubiquiti UniFi AC-Mesh
|
DEVICE_TITLE := Ubiquiti UniFi AC-Mesh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user