From 7b8b4197d2a5a5ad532571392da65d59a61186d7 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 22 Sep 2019 12:01:35 +0200 Subject: [PATCH] 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 --- target/linux/ramips/base-files/etc/board.d/02_network | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2