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 363f52d067
)
This commit is contained in:
parent
08f1bde12b
commit
f7398101db
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue