[source] ramips: fix buffalo wmr-300 lan port

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 5 23:56:38 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=eca1021e5c020e2421e400ff6c87f31c06262ebf

commit eca1021e5c020e2421e400ff6c87f31c06262ebf
Author: John Crispin <john at phrozen.org>
AuthorDate: Tue Jul 5 09:07:33 2016 +0200

    ramips: fix buffalo wmr-300 lan port
    
    Signed-off-by: John Crispin <john at 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 6157d87..1e605d7 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" \



More information about the lede-commits mailing list