aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohann Neuhauser <johann@it-neuhauser.de>2018-08-16 10:30:17 +0200
committerMathias Kresin <dev@kresin.me>2018-08-16 21:20:57 +0200
commit94ee5e3d1d2a473d1124b8d59fbe4f8c9442996a (patch)
tree762b09eb162d5b093a31446e80ed6723cc3d83da /target
parent3f09adaa558a16448181fc54163e679dfe4f6190 (diff)
downloadupstream-94ee5e3d1d2a473d1124b8d59fbe4f8c9442996a.tar.gz
upstream-94ee5e3d1d2a473d1124b8d59fbe4f8c9442996a.tar.bz2
upstream-94ee5e3d1d2a473d1124b8d59fbe4f8c9442996a.zip
ath79: fix leds and network for TP-Link TL-WR841 v9/v11
Adding tl-wr841-v11 and the rename of tl-wr841n-v9 to tl-wr841-v9 in 01_leds and 02_network script files are missing in commits cc35c91 and 8db6522. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de> [merged with identical case in 02_network] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network9
2 files changed, 5 insertions, 7 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index 2c83b138f4..73f350cae2 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -80,7 +80,8 @@ tplink,tl-wr741nd-v4)
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
;;
-tplink,tl-wr841n-v9)
+tplink,tl-wr841-v9|\
+tplink,tl-wr841-v11)
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 202c9bb8eb..653f813e01 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -125,16 +125,13 @@ ath79_setup_interfaces()
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;;
tplink,tl-wr740nd-v4|\
- tplink,tl-wr741nd-v4)
+ tplink,tl-wr741nd-v4|\
+ tplink,tl-wr841-v9|\
+ tplink,tl-wr841-v11)
ucidef_set_interface_wan "eth0"
ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
- tplink,tl-wr841n-v9)
- ucidef_set_interface_wan "eth0"
- ucidef_add_switch "switch0" \
- "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
- ;;
tplink,tl-wr941-v2)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;