From d3a220d10b1a6427f27235e27450871c63f59167 Mon Sep 17 00:00:00 2001
From: goligo <ich@malte.de>
Date: Wed, 12 Oct 2022 01:21:32 +0200
Subject: [PATCH] ath79-generic: Fix autoupdater for Loco M XW from v2021.1.x
 to v2022.1.x (#2664)

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.
---
 targets/ath79-generic | 1 +
 1 file changed, 1 insertion(+)

diff --git a/targets/ath79-generic b/targets/ath79-generic
index cb664bb49..6830c3687 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -511,6 +511,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