From 6a1f66c51f40326e7edca5d94814ccd1b8d289f3 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
 <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sun, 19 Mar 2023 22:41:24 +0100
Subject: [PATCH] ath79-generic: fix WS-AP3705i autoupdater name (#2819)

The device was introduced in #2332 and merged in 102a4b9350c925cbbe15fdead43a370c445eacf8.

It appears that the autoupdater name wasn't correct and devices therefore don't receive updates.

root@64295-ggw3-20b399bb366f-132:~# lua -e 'print(require("platform_info").get_image_name())'
enterasys-ws-ap3705i

(cherry picked from commit 24955cce99ad3722f7c04a3c519904f1a876c581)

Co-authored-by: Tom Herbers <mail@tomherbers.de>
---
 targets/ath79-generic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/ath79-generic b/targets/ath79-generic
index 40a10b1b..24b3f63b 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -115,7 +115,7 @@ device('d-link-dir825b1', 'dlink_dir-825-b1', {
 
 -- Enterasys
 
-device('enterasys-ws-ap3705', 'enterasys_ws-ap3705i', {
+device('enterasys-ws-ap3705i', 'enterasys_ws-ap3705i', {
 	factory = false,
 })
 
-- 
GitLab