ramips: initialize youhua, wr1200js WAN MAC addresses from flash
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 22 Sep 2019 10:01:35 +0000 (12:01 +0200)
committerChuanhong Guo <gch981213@gmail.com>
Wed, 25 Sep 2019 06:44:36 +0000 (14:44 +0800)
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 <freifunk@adrianschmutzler.de>
target/linux/ramips/base-files/etc/board.d/02_network

index d485010..23cb057 100755 (executable)
@@ -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)