aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-05-30 15:18:55 +0200
committerJohn Crispin <john@phrozen.org>2018-06-01 08:21:47 +0200
commitc57c3f2c226a43ca0326b95e1845912b84b973e5 (patch)
tree4afd6cee0245e667bd5d0f8f9e8aadebb00f42b6 /target/linux/ath79/base-files/etc/board.d
parent2087df1c6d38333aa1d8f87eb7b29a85b5863bd5 (diff)
downloadupstream-c57c3f2c226a43ca0326b95e1845912b84b973e5.tar.gz
upstream-c57c3f2c226a43ca0326b95e1845912b84b973e5.tar.bz2
upstream-c57c3f2c226a43ca0326b95e1845912b84b973e5.zip
ath79: fix glinet ar150 lan/wan ordering
LAN and WAN were swapped Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 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 12176c1877..c4f69a8802 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -13,6 +13,10 @@ ath79_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
+ "glinet,ar150")
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ;;
+
"tplink,tl-wdr3600"|\
"tplink,tl-wdr4300")
ucidef_add_switch "switch0" \