ramips: fix GL-inet GL-MT300N-V2 WAN/LAN MAC address
authorJohn Marrett <johnf@zioncluster.ca>
Thu, 13 Jul 2017 12:03:07 +0000 (08:03 -0400)
committerMathias Kresin <dev@kresin.me>
Sat, 15 Jul 2017 05:02:59 +0000 (07:02 +0200)
commit4531bc4267c7701e3615a806a0fde8212076699a
tree1a9775b46f10871b126c20fe5ce4eee169bcae81
parentf7eb7f577ff4b7c3afc0b0d2d8da459cba01ff9d
ramips: fix GL-inet GL-MT300N-V2 WAN/LAN MAC address

Correct MAC address lookup to appropriate offset based on vendor
source.

Override the WAN MAC to use the same address as LAN. The switch driver
increments the base MAC address for the WAN vlan but the stock firmware
uses the same MAC address for all interfaces.

Based on vendor source commit
https://github.com/domino-team/lede-1701/commit/efb0518

Signed-off-by: John Marrett <johnf@zioncluster.ca>
target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/dts/GL-MT300N-V2.dts