mediatek: fix Unifi 6LR network config
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 20 Sep 2022 16:27:34 +0000 (19:27 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 20 Sep 2022 19:10:19 +0000 (22:10 +0300)
commitb472753d79ab014c799f28aac99e698e5caf0b19
tree976490d08c8e4434f6b7b830eb5e74ef693c5280
parentc0b7b2049ebc447d923cf135dd8cf30847073e6d
mediatek: fix Unifi 6LR network config

When the v1 and v2 variants of the U6LR were introduced, the board
network config was not adapted to the new device names. Due to this, the
wrong network config is applied during initial boot. The resulting
config has lan, wan and a switch, while this device only has a single
ethernet interface without a switch.

Fix this by using a wildcard that matches all the variants.

Fixes: 15a02471bb85 ("mediatek: new target mt7622-ubnt-unifi-6-lr-v1")
Fixes: 5c8d3893a78f ("mediatek: new target ubnt_unifi-6-lr-v1-ubootmod")
Fixes: 31d86a1a1192 ("mediatek: add Ubiquiti UniFi 6 LR v2 targets")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 117f41ee95ec445dce5ab9332bc27a6311747c0d)
target/linux/mediatek/mt7622/base-files/etc/board.d/02_network