mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
ramips: fix MAC address setup for Samsung CY-SWR1100
Ethernet MAC address setup has been broken since c3e420f28cf1. Restore original setting. Fixes: c3e420f28cf1 ("ramips: Add support for D-Link DCH-M225") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
This commit is contained in:
parent
a021268032
commit
7231c1edd9
@ -70,7 +70,8 @@ ramips_setup_macs()
|
||||
wan_mac=$(mtd_get_mac_binary devdata 0x7)
|
||||
;;
|
||||
samsung,cy-swr1100)
|
||||
lan_mac=$(mtd_get_mac_ascii factory lanmac)
|
||||
lan_mac=$(mtd_get_mac_ascii nvram lanmac)
|
||||
wan_mac=$(mtd_get_mac_ascii nvram wanmac)
|
||||
;;
|
||||
sitecom,wlr-6000)
|
||||
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x8004)" 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user