From: Johann Neuhauser Date: Thu, 16 Aug 2018 08:30:17 +0000 (+0200) Subject: ath79: fix leds and network for TP-Link TL-WR841 v9/v11 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=94ee5e3d1d2a473d1124b8d59fbe4f8c9442996a;p=openwrt%2Fstaging%2Fblocktrron.git 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 [merged with identical case in 02_network] Signed-off-by: Mathias Kresin --- 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" ;;