aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt3883
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-11-13 23:22:54 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-13 15:57:53 +0100
commit7231c1edd99217c6baa8d7d5d841d75ad9de26f1 (patch)
tree9436b96263dec138b1f8811ade4bbd4bdd75fe39 /target/linux/ramips/rt3883
parenta021268032fb64afdce7bafa91c7c7bf44fa6ff2 (diff)
downloadupstream-7231c1edd99217c6baa8d7d5d841d75ad9de26f1.tar.gz
upstream-7231c1edd99217c6baa8d7d5d841d75ad9de26f1.tar.bz2
upstream-7231c1edd99217c6baa8d7d5d841d75ad9de26f1.zip
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>
Diffstat (limited to 'target/linux/ramips/rt3883')
-rwxr-xr-xtarget/linux/ramips/rt3883/base-files/etc/board.d/02_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network
index 27c15eecac..2ef0e319bb 100755
--- a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network
@@ -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)