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:35:45 +0000 (12:35 +0100)
commitb0d99e32dbb256fe165816a13fe353ef725eebd5
tree665cc7c115d2ffd458b0b5ad09030a14c66443f9
parent22fe68643fabe6ddd87d7a5187c0d7f1928ca871
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