From 9667075b540b80d94e35b604728bdb3badfbf768 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
 <41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed, 12 Oct 2022 01:50:40 +0200
Subject: [PATCH] ath79-generic: Fix autoupdater for Loco M XW from v2021.1.x
 to v2022.1.x (#2667)

Ubiquiti Nanostation Loco M XW was renamed in v2022.1.x, but the alias to the old name was missing, so devices running the old release did not update.

(cherry picked from commit dc8055682ee228f1044f36d9e6248cfa9525f36f)

Co-authored-by: goligo <ich@malte.de>
---
 targets/ath79-generic | 1 +
 1 file changed, 1 insertion(+)

diff --git a/targets/ath79-generic b/targets/ath79-generic
index 2dd58bc28..417f87dc6 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -503,6 +503,7 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1', {
 
 device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', {
 	manifest_aliases = {
+		'ubiquiti-loco-m-xw', -- upgrade from OpenWrt 19.07
 		'ubiquiti-nanostation-loco-m2-xw', -- upgrade from OpenWrt 19.07
 		'ubiquiti-nanostation-loco-m5-xw', -- upgrade from OpenWrt 19.07
 	},
-- 
GitLab