Browse Source

ipq40xx-generic: ws-ap3915i fix macadress

set macaddress correctly for board

Signed-off-by: Florian Maurer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17305
Signed-off-by: Robert Marko <[email protected]>
Florian Maurer 1 year ago
parent
commit
363f52d067
1 changed files with 3 additions and 0 deletions
  1. 3 0
      target/linux/ipq40xx/base-files/etc/board.d/02_network

+ 3 - 0
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)
 		;;