From: Sungbo Eo Date: Wed, 13 Nov 2019 14:22:54 +0000 (+0900) Subject: ramips: fix MAC address setup for Samsung CY-SWR1100 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7231c1edd99217c6baa8d7d5d841d75ad9de26f1;p=openwrt%2Fstaging%2Frobimarko.git ramips: fix MAC address setup for Samsung CY-SWR1100 Ethernet MAC address setup has been broken since c3e420f28cf1. Restore original setting. Fixes: c3e420f28cf1 ("ramips: Add support for D-Link DCH-M225") Signed-off-by: Sungbo Eo --- diff --git a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network index 27c15eecac..2ef0e319bb 100755 --- a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network +++ b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network @@ -70,7 +70,8 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 0x7) ;; samsung,cy-swr1100) - lan_mac=$(mtd_get_mac_ascii factory lanmac) + lan_mac=$(mtd_get_mac_ascii nvram lanmac) + wan_mac=$(mtd_get_mac_ascii nvram wanmac) ;; sitecom,wlr-6000) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x8004)" 2)