aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/01_leds9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
index 3108688da3..befb4a78e8 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
@@ -11,9 +11,6 @@ board=$(board_name)
board_config_update
-led_wlan="$(get_dt_led wlan)"
-[ -n "$led_wlan" ] && ucidef_set_led_wlan "wifi_led" "wifi" "$led_wlan" "phy0tpt"
-
case $board in
alfa-network,awusfree1)
set_wifi_led "blue:wlan"
@@ -56,7 +53,6 @@ tama,w06)
;;
tplink,archer-c20-v4|\
tplink,archer-c20-v5|\
-tplink,tl-wr841n-v14|\
tplink,tl-wr850n-v2)
ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
@@ -90,6 +86,11 @@ tplink,tl-wr841n-v13)
ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x10"
ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
;;
+tplink,tl-wr841n-v14)
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+ ucidef_set_led_wlan "wifi_led" "wifi" "green:wlan" "phy0tpt"
+ ;;
tplink,tl-wr902ac-v3)
ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x10"