summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-05-18 23:37:49 +0200
committerJohn Crispin <john@phrozen.org>2018-05-24 17:24:31 +0200
commit701a7b1c86a9aa99931ad51f93805bc3970b0acb (patch)
treea3d447adc8b42928d107cedb9653a590bcc41d58 /target/linux/ramips/base-files/etc
parent53507cef82ff49c3e52c73779637c851b80f6293 (diff)
downloadmtk-20170518-701a7b1c86a9aa99931ad51f93805bc3970b0acb.zip
mtk-20170518-701a7b1c86a9aa99931ad51f93805bc3970b0acb.tar.gz
mtk-20170518-701a7b1c86a9aa99931ad51f93805bc3970b0acb.tar.bz2
ramips: change wifi led trigger for Archer C50v3
This commit alters the TP-Link Archer C50v3 LED settings to use the phy trigger instead of the netdev one. This way the WiFi status is displayed even if the wifi interface name is altered. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit ce91c85e01050cb19c89c9a19369a56a94619e7f)
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index b5de388..88e4c2b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -410,8 +410,8 @@ tplink,c20-v4)
tplink,c50-v3)
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
- ucidef_set_led_netdev "wlan2g" "wlan2g" "$boardname:green:wlan2g" "wlan1"
- set_wifi_led "$boardname:green:wlan5g"
+ ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt"
+ ucidef_set_led_wlan "wlan5g" "wlan5g" "$boardname:green:wlan5g" "phy1tpt"
;;
tplink,tl-mr3420-v5)
set_usb_led "$boardname:green:usb"