aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-09-10 14:05:34 +0200
committerDavid Bauer <mail@david-bauer.net>2022-09-11 15:54:49 +0200
commitb317d3dbfbd283cacf22fc1d181f8a4cc4f36000 (patch)
treea8204ac2e6a2abb8d1d4082fa3be6c8d0274145b /target/linux
parentfff797d26e758c596f6602ded82e81746d8f1aa4 (diff)
downloadupstream-b317d3dbfbd283cacf22fc1d181f8a4cc4f36000.tar.gz
upstream-b317d3dbfbd283cacf22fc1d181f8a4cc4f36000.tar.bz2
upstream-b317d3dbfbd283cacf22fc1d181f8a4cc4f36000.zip
ipq40xx: add WAN LED mapping for GL-AP1300
Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 4d014a7bd6d8fbfe7dc4cebd6c55d85601231fa4)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/01_leds3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
index 884b265dcb..0e473534f5 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
@@ -52,6 +52,9 @@ engenius,ens620ext)
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth0"
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1"
;;
+glinet,gl-ap1300)
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ;;
mikrotik,cap-ac)
ucidef_set_led_default "power" "POWER" "blue:power" "1"
ucidef_set_led_default "user" "USER" "green:user" "0"