ar71xx: fix MAC addresses on TP-Link TL-WR1043ND v4
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 11 Sep 2017 17:41:41 +0000 (19:41 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 11 Sep 2017 17:47:19 +0000 (19:47 +0200)
commit53839da46e6fb21e68b3878b4a2187c7d32d688e
tree89234219e7c9227ffee3cdfce7aee8b3f1f9fd3d
parent79440ea7563d626d3823cbd3dadbe2f73214ce32
ar71xx: fix MAC addresses on TP-Link TL-WR1043ND v4

The addresses were read from the 'config' partition, which would not always
contain the addresses at the same offsets, depending on the stock firmware
version used before flashing LEDE. Change this to get the addresses from
the 'product-info' partition, which is read-only.

Reported-and-tested-by: Andreas Ziegler <ml@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1043nd-v4.c