From 18dd76471cfee00972892f44a8bcb552305589cb Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Wed, 6 Nov 2019 19:16:07 +0100
Subject: [PATCH] ar71xx-generic: add dedicated UniFi AC LR image

As upstream now has model detection for the Ubiquiti UniFi AC LR, we
need to provide an autoupdater image matching the expected filename.

Closes #1834
---
 targets/ar71xx-generic | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/targets/ar71xx-generic b/targets/ar71xx-generic
index 5a76f87a8..698921775 100644
--- a/targets/ar71xx-generic
+++ b/targets/ar71xx-generic
@@ -430,6 +430,11 @@ device('ubiquiti-unifi-ac-lite', 'ubnt-unifiac-lite', {
 	aliases = {'ubiquiti-unifi-ac-lite-mesh'},
 })
 
+device('ubiquiti-unifi-ac-lr', 'ubnt-unifiac-lr', {
+	factory = false,
+	packages = ATH10K_PACKAGES,
+})
+
 device('ubiquiti-unifi-ac-pro', 'ubnt-unifiac-pro', {
 	factory = false,
 	packages = ATH10K_PACKAGES,
-- 
GitLab