diff options
| author | Florian Maurer | 2024-12-19 10:49:13 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-12-23 15:44:48 +0000 |
| commit | 363f52d067e1852d46ccdc3ab4d12bc2f9d018dd (patch) | |
| tree | 63fb1e6fb6a60961975b2735a7d0b78c44a118ed | |
| parent | 24fc5ff2136a10bf0ee9e764ae0404b2928a67ce (diff) | |
| download | openwrt-363f52d067e1852d46ccdc3ab4d12bc2f9d018dd.tar.gz | |
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>
| -rw-r--r-- | target/linux/ipq40xx/base-files/etc/board.d/02_network | 3 |
1 files changed, 3 insertions, 0 deletions
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) ;; |