ipq40xx-generic: ws-ap3915i fix macadress

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>
(cherry picked from commit 363f52d067e1852d46ccdc3ab4d12bc2f9d018dd)
This commit is contained in:
Florian Maurer 2024-12-19 11:49:13 +01:00 committed by Robert Marko
parent 08f1bde12b
commit f7398101db

View 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)
;;