aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTan Zien <nabsdh9@gmail.com>2021-05-15 00:34:11 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-05-23 15:10:37 +0200
commit7efc0d4d062e2b890b7daa6b30aa3a5e1754aaf5 (patch)
treef75b95b5e13276d7fc53a1b29827f8f2fb0a955d
parent0eca9699b1f9339077fd4454b78a7f342b6c1dd7 (diff)
downloadupstream-7efc0d4d062e2b890b7daa6b30aa3a5e1754aaf5.tar.gz
upstream-7efc0d4d062e2b890b7daa6b30aa3a5e1754aaf5.tar.bz2
upstream-7efc0d4d062e2b890b7daa6b30aa3a5e1754aaf5.zip
apm821xx: MR24: Change default config of WLAN LED
The previous config will only show 2.4G radio activity status This change mr24:green:wifi4 and mr24:green:wifi2 to show 2.4G and 5G radio on and off status change mr24:green:wifi3 and mr24:green:wifi1 to show 2.4G and 5G radio activity status Signed-off-by: Tan Zien <nabsdh9@gmail.com>
-rw-r--r--target/linux/apm821xx/base-files/etc/board.d/01_leds8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds
index 3dc41d90d8..c6f855cd2d 100644
--- a/target/linux/apm821xx/base-files/etc/board.d/01_leds
+++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds
@@ -8,10 +8,10 @@ board=$(board_name)
case "$board" in
meraki,mr24)
ucidef_set_led_netdev "wan" "WAN" "mr24:green:wan" "eth0"
- ucidef_set_led_wlan "wlan1" "WLAN1" "mr24:green:wifi1" "phy0assoc"
- ucidef_set_led_wlan "wlan2" "WLAN2" "mr24:green:wifi2" "phy0assoc"
- ucidef_set_led_wlan "wlan3" "WLAN3" "mr24:green:wifi3" "phy0assoc"
- ucidef_set_led_wlan "wlan4" "WLAN4" "mr24:green:wifi4" "phy0tpt"
+ ucidef_set_led_wlan "wlan5g_1" "WIFI 5GHz-1" "mr24:green:wifi1" "phy1tpt"
+ ucidef_set_led_wlan "wlan5g_0" "WIFI 5GHz-0" "mr24:green:wifi2" "phy1radio"
+ ucidef_set_led_wlan "wlan2g_1" "WIFI 2.4GHz-1" "mr24:green:wifi3" "phy0tpt"
+ ucidef_set_led_wlan "wlan2g_0" "WIFI 2.4GHz-0" "mr24:green:wifi4" "phy0radio"
;;
meraki,mx60)