From eca1021e5c020e2421e400ff6c87f31c06262ebf Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Tue, 5 Jul 2016 09:07:33 +0200
Subject: [PATCH] ramips: fix buffalo wmr-300 lan port

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

diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 6157d87763..1e605d742b 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -189,10 +189,12 @@ ramips_setup_interfaces()
 		;;
 	mlwg2|\
 	wizard8800|\
-	wl-330n|\
-	wmr-300)
+	wl-330n)
 		ucidef_set_interface_lan "eth0.1"
 		;;
+	wmr-300)
+		ucidef_set_interface_lan "eth0"
+		;;
 	mzk-dp150n|\
 	vocore)
 		ucidef_add_switch "switch0" \
-- 
2.30.2