ath79-generic: re-add support for Ubiquiti UniFi AP Outdoor+ (#2440)
Removed in 45c84a117b
("ar71xx: drop target").
This commit is contained in:
parent
a0df96eb97
commit
674ec7b64a
@ -108,6 +108,7 @@ ath79-generic
|
||||
- UniFi AC Pro
|
||||
- UniFi AP
|
||||
- UniFi AP LR
|
||||
- UniFi AP Outdoor+
|
||||
- UniFi AP PRO
|
||||
|
||||
ath79-nand
|
||||
|
@ -52,6 +52,11 @@ if platform.match('ath79', 'generic', {
|
||||
'ubnt,unifi-ap-pro',
|
||||
}) then
|
||||
lan_ifname, wan_ifname = wan_ifname, lan_ifname
|
||||
elseif platform.match('ath79', 'generic', {
|
||||
'ubnt,unifi-ap-outdoor-plus',
|
||||
}) then
|
||||
-- Temporary solution to separate interfaces in bridged default setup
|
||||
lan_ifname, wan_ifname = 'eth0', 'eth1'
|
||||
elseif platform.match('lantiq') then
|
||||
local switch_data = board_data.switch or {}
|
||||
local switch0_data = switch_data.switch0 or {}
|
||||
|
@ -38,6 +38,7 @@ function M.is_outdoor_device()
|
||||
'tplink,wbs210-v1',
|
||||
'tplink,wbs210-v2',
|
||||
'ubnt,nanostation-m-xw',
|
||||
'ubnt,unifi-ap-outdoor-plus',
|
||||
'ubnt,unifiac-mesh',
|
||||
}) then
|
||||
return true
|
||||
|
@ -449,4 +449,10 @@ device('ubiquiti-unifi-ap', 'ubnt_unifi', {
|
||||
},
|
||||
})
|
||||
|
||||
device('ubiquiti-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus', {
|
||||
manifest_aliases = {
|
||||
'ubiquiti-unifiap-outdoor+', -- upgrade from OpenWrt 19.07
|
||||
},
|
||||
})
|
||||
|
||||
device('ubiquiti-unifi-ap-pro', 'ubnt_unifi-ap-pro')
|
||||
|
Loading…
Reference in New Issue
Block a user