[OpenWrt-Devel] [PATCH] Fix for WBMR300 network settings (the case default statement was before the WBMR300 statement).

Sebastien Decourriere sebtx452 at gmail.com
Mon Dec 19 04:09:37 EST 2016


Signed-off-by: Sebastien Decourriere <sebtx452 at gmail.com>
---
 target/linux/lantiq/base-files/etc/board.d/02_network | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index cafcb0e..b872f5a 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -145,9 +145,6 @@ VGV7510KW22)
 	ucidef_add_switch "switch0" \
 		"2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t at eth0"
 	;;
-*)
-	ucidef_set_interface_lan 'eth0'
-	;;
 
 WBMR300)
 	lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
@@ -156,6 +153,11 @@ WBMR300)
 		"2:lan:1" "3:lan:2" "5:lan:3" "4:wan:1" "6t at eth0"
 	;;
 
+*)
+	ucidef_set_interface_lan 'eth0'
+	;;
+
+
 esac
 
 if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list