From aa5355f662139020768221626316e1a4163d758e Mon Sep 17 00:00:00 2001
From: "aiyion.prime" <git@aiyionpri.me>
Date: Wed, 23 Mar 2022 17:31:18 +0100
Subject: [PATCH] ath79-generic: (re)add support for UniFi AP

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

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index b53aacf62..aac9ab43e 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -54,6 +54,10 @@ ath79-generic
   - TL-WDR4300 (v1)
   - WBS210 (v2.0)
 
+* Ubiquiti
+
+  - UniFi AP
+
 ath79-nand
 ----------
 
diff --git a/targets/ath79-generic b/targets/ath79-generic
index cd0051009..39fce8382 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -135,3 +135,11 @@ device('tp-link-tl-wdr3600-v1', 'tplink_tl-wdr3600-v1')
 device('tp-link-tl-wdr4300-v1', 'tplink_tl-wdr4300-v1')
 
 device('tp-link-wbs210-v2', 'tplink_wbs210-v2')
+
+-- Ubiquiti
+
+device('ubiquiti-unifi-ap', 'ubnt_unifi', {
+	manifest_aliases = {
+		'ubiquiti-unifi',
+	},
+})
-- 
GitLab