From: Adrian Schmutzler Date: Sun, 22 Sep 2019 10:01:35 +0000 (+0200) Subject: ramips: initialize youhua, wr1200js WAN MAC addresses from flash X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7b8b4197d2a5a5ad532571392da65d59a61186d7;p=openwrt%2Fstaging%2Fneocturne.git ramips: initialize youhua, wr1200js WAN MAC addresses from flash This patch changes wan MAC address setup for youhua,wr1200js from retrieving it by calculation to reading it from flash. This has been checked on-device. Signed-off-by: Adrian Schmutzler --- 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 d485010e3a..23cb057d70 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -563,6 +563,7 @@ ramips_setup_macs() phicomm,k2p|\ planex,vr500|\ samknows,whitebox-v8|\ + youhua,wr1200js|\ youku,yk-l2|\ zbtlink,zbt-we3526) wan_mac=$(mtd_get_mac_binary factory 0xe006)