From 363f52d067e1852d46ccdc3ab4d12bc2f9d018dd Mon Sep 17 00:00:00 2001 From: Florian Maurer Date: Thu, 19 Dec 2024 11:49:13 +0100 Subject: [PATCH] ipq40xx-generic: ws-ap3915i fix macadress set macaddress correctly for board Signed-off-by: Florian Maurer Link: https://github.com/openwrt/openwrt/pull/17305 Signed-off-by: Robert Marko --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index e3a6e24228..549e1ac0c9 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -202,6 +202,9 @@ ipq40xx_setup_macs() wan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) lan_mac=$(macaddr_add "$wan_mac" 1) ;; + extreme-networks,ws-ap3915i) + label_mac="$(mtd_get_mac_ascii CFG1 ethaddr)" + ;; ezviz,cs-w3-wd1200g-eup) label_mac=$(mtd_get_mac_binary "ART" 0x6) ;; -- 2.30.2