aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2019-01-05 23:54:01 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-02-14 16:56:14 +0100
commit212892ce70eb191f641d287e4123907f03a6cd98 (patch)
tree0f6c352111bca630263992c8baaec602eb30d34f /target
parent97fcd2622a7b727bf16c2073f760ea2c52622cd6 (diff)
downloadupstream-212892ce70eb191f641d287e4123907f03a6cd98.tar.gz
upstream-212892ce70eb191f641d287e4123907f03a6cd98.tar.bz2
upstream-212892ce70eb191f641d287e4123907f03a6cd98.zip
ath79: fix port order on TL-WR841ND-v7
The switch ports are seen one to one on the case. Also remove unneeded secondary port numbers in this case statement. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network6
1 files changed, 3 insertions, 3 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 5b57986d5f..a63939670e 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -131,10 +131,11 @@ ath79_setup_interfaces()
ucidef_add_switch_port_attr "switch0" 5 led 2
;;
netgear,wnr612-v2|\
- on,n150r)
+ on,n150r|\
+ tplink,tl-wr841-v7)
ucidef_set_interface_wan "eth0"
ucidef_add_switch "switch0" \
- "0@eth1" "1:lan" "2:lan" "3:lan:3" "4:lan:4"
+ "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;;
phicomm,k2t)
ucidef_add_switch "switch0" \
@@ -153,7 +154,6 @@ ath79_setup_interfaces()
buffalo,whr-g301n|\
tplink,tl-mr3220-v1|\
tplink,tl-mr3420-v1|\
- tplink,tl-wr841-v7|\
tplink,tl-wr841-v9|\
tplink,tl-wr841-v11|\
ubnt,airrouter)