diff options
author | Sungbo Eo <mans0n@gorani.run> | 2019-11-13 23:22:54 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-14 23:23:04 +0100 |
commit | 079b2027495d89553fe81133864b42731dd38abe (patch) | |
tree | 5094df61ca86142465d2b15e015e11d550a66a10 | |
parent | 2117f632e38bfd64af43971e1fa3b57c3e53300a (diff) | |
download | upstream-079b2027495d89553fe81133864b42731dd38abe.tar.gz upstream-079b2027495d89553fe81133864b42731dd38abe.tar.bz2 upstream-079b2027495d89553fe81133864b42731dd38abe.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>
(cherry picked from commit 7231c1edd99217c6baa8d7d5d841d75ad9de26f1)
[backported due to base-files split]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 7dc82d4446..9569232784 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -533,13 +533,13 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 7) ;; cy-swr1100|\ - dch-m225) - lan_mac=$(mtd_get_mac_ascii factory lanmac) - ;; dir-645) lan_mac=$(mtd_get_mac_ascii nvram lanmac) wan_mac=$(mtd_get_mac_ascii nvram wanmac) ;; + dch-m225) + lan_mac=$(mtd_get_mac_ascii factory lanmac) + ;; dir-860l-b1) lan_mac=$(mtd_get_mac_ascii factory lanmac) wan_mac=$(mtd_get_mac_ascii factory wanmac) |