[openwrt/openwrt] ipq40xx-generic: ws-ap3915i fix macadress

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 23 07:45:17 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/363f52d067e1852d46ccdc3ab4d12bc2f9d018dd

commit 363f52d067e1852d46ccdc3ab4d12bc2f9d018dd
Author: Florian Maurer <f.maurer at outlook.de>
AuthorDate: Thu Dec 19 11:49:13 2024 +0100

    ipq40xx-generic: ws-ap3915i fix macadress
    
    set macaddress correctly for board
    
    Signed-off-by: Florian Maurer <f.maurer at outlook.de>
    Link: https://github.com/openwrt/openwrt/pull/17305
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 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)
 		;;




More information about the lede-commits mailing list