diff options
author | Eduardo Barros <geadas@gmail.com> | 2018-12-25 23:20:03 +0000 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-12-29 16:12:41 +0100 |
commit | 335c69fbb21a21c9286f02d59fb40dc0a3e38c07 (patch) | |
tree | 05d011a993c3e51a256739a62fc784205f9b9005 | |
parent | d405edb481bb08ee5db482142c65064902899bd3 (diff) | |
download | upstream-335c69fbb21a21c9286f02d59fb40dc0a3e38c07.tar.gz upstream-335c69fbb21a21c9286f02d59fb40dc0a3e38c07.tar.bz2 upstream-335c69fbb21a21c9286f02d59fb40dc0a3e38c07.zip |
ath79: Fix wrong TL-WR740N v4 switch port order
Fix the switch port order to have the correct order in LuCI.
Fixes: FS#1469
Signed-off-by: Eduardo Barros <geadas@gmail.com>
[trim commit title, add a proper commit message, add fixes tag, keep
alphabetical order of the blocks]
Signed-off-by: Mathias Kresin <dev@kresin.me>
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 12 |
1 files changed, 6 insertions, 6 deletions
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 64067c8da7..004ab59573 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -177,6 +177,12 @@ ath79_setup_interfaces() "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; tplink,tl-wr740nd-v4|\ + tplink,tl-wr842n-v1|\ + tplink,tl-wr842n-v2) + ucidef_set_interface_wan "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3" + ;; tplink,tl-wr741nd-v4|\ tplink,tl-wr841-v9|\ tplink,tl-wr841-v11) @@ -184,12 +190,6 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" ;; - tplink,tl-wr842n-v1|\ - tplink,tl-wr842n-v2) - ucidef_set_interface_wan "eth0" - ucidef_add_switch "switch0" \ - "0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3" - ;; tplink,tl-wr941-v2) ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ;; |