diff options
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c index ed217f9e2..834b462de 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c @@ -109,7 +109,8 @@ static void __init tl_wr741nd_setup(void) tl_wr741nd_gpio_buttons); ar71xx_eth1_data.has_ar7240_switch = 1; - ar71xx_set_mac_base(mac); + ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0); + ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1); /* WAN port */ ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; |