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:48:28 +0000 (19:48 +0200)
commit415175246eec0c59351e575ce6f3769b70772b09
tree8d3381ff21bfd6184859efdcb5053af828bfda2e
parent082e6215b7cc5c823d6b0254de45420209ad68b1
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