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 <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2019-09-22 12:01:35 +02:00 committed by Chuanhong Guo
parent 12ab6ef5c3
commit 7b8b4197d2

View File

@ -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)