ar71xx: wpj344: set MAC on wan
Signed-off-by: Leon M. George <leon@georgemail.eu>
This commit is contained in:
parent
98c5a71dfd
commit
3e12ca2355
@ -532,6 +532,9 @@ ar71xx_setup_macs()
|
|||||||
mynet-n750)
|
mynet-n750)
|
||||||
wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
|
wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
|
||||||
;;
|
;;
|
||||||
|
wpj344)
|
||||||
|
wan_mac=$(mtd_get_mac_binary u-boot 0x2e018)
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac
|
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac
|
||||||
|
Loading…
Reference in New Issue
Block a user