From c57c3f2c226a43ca0326b95e1845912b84b973e5 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Wed, 30 May 2018 15:18:55 +0200
Subject: ath79: fix glinet ar150 lan/wan ordering

LAN and WAN were swapped

Signed-off-by: John Crispin <john@phrozen.org>
---
 target/linux/ath79/base-files/etc/board.d/02_network | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'target')

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" \
-- 
cgit v1.2.3