ar71xx: wpj344: set MAC on wan

Signed-off-by: Leon M. George <leon@georgemail.eu>
This commit is contained in:
Leon M. George 2017-06-09 18:30:47 +02:00 committed by Piotr Dymacz
parent 98c5a71dfd
commit 3e12ca2355

View File

@ -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