From 1ab1df080e357c7484f8ac29ff135ac00163895a Mon Sep 17 00:00:00 2001 From: "J. Burfeind" Date: Thu, 16 Jun 2022 14:52:05 +0200 Subject: [PATCH] ath79-generic: (re)add support for NanoStation Loco M2 (XW) (#2547) Gone due to commit 45c84a117bf8 ("ar71xx: drop target") --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 67deffad..d1aeac54 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -103,6 +103,7 @@ ath79-generic * Ubiquiti - NanoBeam M5 (XW) + - NanoStation Loco M2 (XW) - NanoStation M2/M5 (XW) - UniFi AC Lite - UniFi AC LR diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua index bc3511c9..d61d856c 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -38,6 +38,7 @@ function M.is_outdoor_device() 'tplink,wbs210-v1', 'tplink,wbs210-v2', 'ubnt,nanobeam-m5-xw', + 'ubnt,nanostation-loco-m-xw', 'ubnt,nanostation-m-xw', 'ubnt,unifi-ap-outdoor-plus', 'ubnt,unifiac-mesh', diff --git a/targets/ath79-generic b/targets/ath79-generic index f32803ee..20e62ea5 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -424,6 +424,12 @@ device('tp-link-wbs210-v2', 'tplink_wbs210-v2') -- Ubiquiti +device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', { + manifest_aliases = { + 'ubiquiti-nanostation-loco-m2-xw', -- upgrade from OpenWrt 19.07 + }, +}) + device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', { manifest_aliases = { 'ubiquiti-nanostation-m2-xw', -- upgrade from OpenWrt 19.07