ar71xx: fix MAC address setup for TL-WDR4900 v2
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 14 Nov 2019 11:26:05 +0000 (12:26 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 21 Nov 2019 11:29:28 +0000 (12:29 +0100)
commite945c43142ab3ab374d3f671079d4008d3807bd7
tree02ca51dfb03bd54fc4a3ae818f9665aaebb193ea
parent8a21bc36229d3eabad213ae47fddb4d86d76ac7f
ar71xx: fix MAC address setup for TL-WDR4900 v2

The MAC address setup of the TL-WDR4900 v2 is different from the
C5/C7. This aligns ar71xx with the setup in ath79:

wlan0 (5GHz) : -2
wlan1 (2.4GHz) : -1
eth1 (LAN) : 0
eth0 (WAN) : 1

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit a9d3084b83bb2d0fa2c0b43bf2a0831b5ae1df13)
target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c