aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files
diff options
context:
space:
mode:
authorRobert Marko <robert.marko@sartura.hr>2021-10-31 14:33:15 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-10-31 21:24:47 +0100
commit76fff69180039ace23ce10a2570ec9f441a0cab6 (patch)
tree5155dbcf16fb94a8fce4c8ef87985ba769cf121a /target/linux/ipq806x/base-files
parent2e3c79ef83588a4e207e2f99ab404536cfc0e95d (diff)
downloadupstream-76fff69180039ace23ce10a2570ec9f441a0cab6.tar.gz
upstream-76fff69180039ace23ce10a2570ec9f441a0cab6.tar.bz2
upstream-76fff69180039ace23ce10a2570ec9f441a0cab6.zip
ipq806x: ecw5410: use bootloader provided MAC-s
Currently, we are overriding the bootloader provided MAC-s as the ethernet aliases are reversed so MAC-s were fixed up in userspace. There is no need to do that as we can just fix the aliases instead and get rid of MAC setting via userspace helper. Fixes: 59f0a0f ("ipq806x: add Edgecore ECW5410 support") Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rw-r--r--target/linux/ipq806x/base-files/etc/board.d/02_network2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network
index a75d32ab6f..65a0e98b3b 100644
--- a/target/linux/ipq806x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq806x/base-files/etc/board.d/02_network
@@ -29,8 +29,6 @@ tplink,vr2600v)
;;
edgecore,ecw5410)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
- ucidef_set_interface_macaddr "lan" "$(mtd_get_mac_binary "0:art" 0x6)"
- ucidef_set_interface_macaddr "wan" "$(mtd_get_mac_binary "0:art" 0x0)"
;;
linksys,ea7500-v1)
hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr)