From: Chuanhong Guo Date: Fri, 20 Mar 2020 10:08:00 +0000 (+0800) Subject: mediatek: mt7629: fix ethernet default config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1bbb8807fab2b679548aef10111242957f99875b;p=openwrt%2Fstaging%2Fansuel.git mediatek: mt7629: fix ethernet default config 1. fix typo: ucidef_set_interfaces_wan -> ucidef_set_interface_wan 2. change board name to mt7629-rfb to match upstream dts Signed-off-by: Chuanhong Guo --- diff --git a/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network b/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network index 757a390c24..24c66de788 100755 --- a/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network +++ b/target/linux/mediatek/mt7629/base-files/etc/board.d/02_network @@ -9,8 +9,8 @@ mediatek_setup_interfaces() local board="$1" case $board in - mediatek,mt7629-lynx-rfb) - ucidef_set_interfaces_wan "eth1" + mediatek,mt7629-rfb) + ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "6@eth0" ;;