ipq40xx-generic: ws-ap3915i fix macadress
authorFlorian Maurer <f.maurer@outlook.de>
Thu, 19 Dec 2024 10:49:13 +0000 (11:49 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 23 Dec 2024 15:44:48 +0000 (16:44 +0100)
set macaddress correctly for board

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/17305
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/base-files/etc/board.d/02_network

index e3a6e242284012d01900581b4b42f3d9b41e2687..549e1ac0c96a3ee9f43ff30756959eafa3dd8c9c 100644 (file)
@@ -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)
                ;;