2
0
forked from Ivasoft/openwrt

ath79: fix support for TL-MR3020 v1

Change lan and it's LED to eth0
It's broken since c7c807cb8c
where I changed the dts but forgot to change default configurations.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2018-08-02 15:14:10 +08:00
committed by Mathias Kresin
parent 690c55e8cc
commit 3804134369
2 changed files with 2 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ ath79_setup_interfaces()
"pcs,cap324"|\
"tplink,re450-v2"|\
"tplink,tl-mr10u"|\
"tplink,tl-mr3020-v1"|\
"tplink,tl-wr703n"|\
"ubnt,unifiac-lite"|\
"ubnt,unifiac-mesh"|\
@@ -59,11 +60,6 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan"
;;
"tplink,tl-mr3020-v1")
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "0@eth0" "1:lan"
;;
"tplink,tl-mr3220-v1"|\
"tplink,tl-mr3420-v1"|\
"tplink,tl-wr841-v7")