ramips: fix MAC address setup for Samsung CY-SWR1100
Ethernet MAC address setup has been broken sincec3e420f28c
. Restore original setting. Fixes:c3e420f28c
("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
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ ramips_setup_macs()
|
||||||
wan_mac=$(mtd_get_mac_binary devdata 0x7)
|
wan_mac=$(mtd_get_mac_binary devdata 0x7)
|
||||||
;;
|
;;
|
||||||
samsung,cy-swr1100)
|
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)
|
sitecom,wlr-6000)
|
||||||
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x8004)" 2)
|
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x8004)" 2)
|
||||||
|
|
Loading…
Reference in a new issue