From 71d3f4cad1f7d8259af856674f3e6d30272352be Mon Sep 17 00:00:00 2001
From: "aiyion.prime" <git@aiyionpri.me>
Date: Thu, 24 Mar 2022 12:08:26 +0100
Subject: [PATCH] ath79-generic: (re)add support for UniFi AP LR

Gone due to
commit 45c84a1 ("ar71xx: drop target")
---
 docs/user/supported_devices.rst | 1 +
 targets/ath79-generic           | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index aac9ab43e..ae9f97734 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -57,6 +57,7 @@ ath79-generic
 * Ubiquiti
 
   - UniFi AP
+  - UniFi AP LR
 
 ath79-nand
 ----------
diff --git a/targets/ath79-generic b/targets/ath79-generic
index 39fce8382..ed0bbbeaa 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -139,6 +139,9 @@ device('tp-link-wbs210-v2', 'tplink_wbs210-v2')
 -- Ubiquiti
 
 device('ubiquiti-unifi-ap', 'ubnt_unifi', {
+	aliases = {
+		'ubiquiti-unifi-ap-lr',
+	},
 	manifest_aliases = {
 		'ubiquiti-unifi',
 	},
-- 
GitLab