aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2017-06-09 18:30:47 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-06-29 10:37:36 +0200
commit3e12ca2355529e51d50038d06dbac79315470b3d (patch)
treeea4abc307381bd73f2f50c356ecde1287be2b0f9
parent98c5a71dfd5f1dc3d4ca7c08646b7fb106a38970 (diff)
downloadupstream-3e12ca2355529e51d50038d06dbac79315470b3d.tar.gz
upstream-3e12ca2355529e51d50038d06dbac79315470b3d.tar.bz2
upstream-3e12ca2355529e51d50038d06dbac79315470b3d.zip
ar71xx: wpj344: set MAC on wan
Signed-off-by: Leon M. George <leon@georgemail.eu>
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 9ff6dddd32..709030ceb3 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -532,6 +532,9 @@ ar71xx_setup_macs()
mynet-n750)
wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
;;
+ wpj344)
+ wan_mac=$(mtd_get_mac_binary u-boot 0x2e018)
+ ;;
esac
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac