From: Jan Alexander <jan@nalx.net>
Date: Tue, 24 Mar 2020 12:36:57 +0000 (+0100)
Subject: ar71xx: use status led for GL.iNet GL-AR750S
X-Git-Tag: v18.06.9~79
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c3c6cc95eeadf5230d77d5afabc9a9e0b4887ee5;p=openwrt%2Fstaging%2Fpepe2k.git

ar71xx: use status led for GL.iNet GL-AR750S

Use power led for device status.

The status led behavior has already been fixed in af28d8a539fe
("ath79: add support for GL.iNet GL-AR750S") when porting the
device to ath79. This fixes it for ar71xx as well.

Signed-off-by: Jan Alexander <jan@nalx.net>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit d394c354ee0e8660f876889f6293803c581cbf85)
---

diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 62ed94ee6a..fe677c2266 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -73,6 +73,7 @@ get_status_led() {
 	fritz300e|\
 	fritz4020|\
 	fritz450e|\
+	gl-ar750s|\
 	gl-usb150|\
 	mr12|\
 	mr16|\