openwrt-pf/target/linux/mediatek
Semih Baskan 1b2aeb4f8a
mediatek: filogic: drop dead eth0 MAC assignment on TP-Link BE450
The eth0 assignment never takes effect. 05_set_preinit_iface brings eth0
up in its default case before 10_fix_eth_mac.sh runs, and the kernel
refuses a MAC change on a running interface, so ip link fails with EBUSY.
This script cannot run any earlier either, since it needs /tmp/tp_data
mounted by 09_mount_cfg_part.

Nothing is lost by dropping it: the DSA user ports carry their own
addresses, which the lan1-3 assignments below already take care of, and
br-lan takes its address from them.

Verified on a BE450 running an image built from main: eth0 comes up with
a different random address on every boot regardless of this line, while
lan1-3 and br-lan keep the label MAC across reboots even with no macaddr
in /etc/config/network.

Fixes: 1513da34bb ("mediatek: filogic: set eth0 and LAN port MACs on TP-Link BE450")
Signed-off-by: Semih Baskan <strst.gs@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24325
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-20 23:39:52 +02:00
..
base-files
dts mediatek: filogic: set label MAC address on TP-Link BE450 2026-07-20 20:28:34 +02:00
files/drivers treewide: remove fwnode_for_each_available_child_node 2026-07-09 09:33:41 +02:00
files-6.18 mediatek: filogic: replace mtd-eeprom with nvmem 2026-06-14 23:42:52 +02:00
filogic mediatek: filogic: drop dead eth0 MAC assignment on TP-Link BE450 2026-07-20 23:39:52 +02:00
image mediatek: add support for Hiveton H5000M 2026-07-09 09:41:47 +02:00
mt7622 mediatek: mt7622: enable CONFIG_MTD_VIRT_CONCAT 2026-06-01 00:32:38 +02:00
mt7623 mediatek: drop v6.12 and default to v6.18 2026-04-24 15:52:51 +01:00
mt7629 mediatek: drop v6.12 and default to v6.18 2026-04-24 15:52:51 +01:00
patches-6.18 kernel: bump 6.18 to 6.18.39 2026-07-20 20:05:54 +02:00
Makefile mediatek: drop v6.12 and default to v6.18 2026-04-24 15:52:51 +01:00
modules.mk mediatek: 6.18: add missing module dependency 2026-04-20 01:10:32 +01:00