ipq40xx: fix ipq40xx_setup_macs for Linksys EA6350v3
authorOever González <notengobattery@gmail.com>
Thu, 14 Feb 2019 00:13:07 +0000 (18:13 -0600)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 14 Feb 2019 15:56:15 +0000 (16:56 +0100)
commitc35d7f3f8a81a1e256b238a47d391175da9e34b8
tree6f0095bff52be6eafbfe6ce8ea9e6fb4ce2b97ec
parent064e4315750fbb80b21293c87cae0abb2c257d9b
ipq40xx: fix ipq40xx_setup_macs for Linksys EA6350v3

This commit fixes the script that sets the MAC address of the LAN
switch. The LAN MAC address should be the WAN MAC address plus one.

Without this patch the WAN and the LAN interface will use the same
MAC address and an error will be generated.

With this patch all interfaces will have a different MAC address,
consecutive in the following order: WAN, LAN, radio0 and radio1.

Signed-off-by: Oever González <notengobattery@gmail.com>
target/linux/ipq40xx/base-files/etc/board.d/02_network