ar71xx: fix MAC address setup for TL-WDR4300 board
authorSungbo Eo <mans0n@gorani.run>
Sun, 15 Dec 2019 09:10:18 +0000 (18:10 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 20 Dec 2019 23:27:39 +0000 (00:27 +0100)
commit9b02d32e34df2bb8821ec6f08f525bee22d0d1ba
treed85f9f083aad5f81b102eab7bfee60a77acbee5a
parenta4260eaab7744c8e3f1f7a62a61aab5e3b562342
ar71xx: fix MAC address setup for TL-WDR4300 board

The current ethernet MAC address setup of TL-WDR4300 board is different
from the setup of stock firmware:

OpenWrt: lan = label_mac -2, wan = label_mac -2
  stock: lan = label_mac,    wan = label_mac +1

This patch applies to all devices using TL-WDR4300 board:
TL-WDR3600 v1
TL-WDR4300 v1
TL-WDR4300 v1 (IL)
TL-WDR4310 v1
Mercury MW4530R v1

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c