ar71xx: change mac address initialization
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tew-632brp.c
index 4581fa0..3ace1dd 100644 (file)
@@ -118,7 +118,8 @@ static void __init tew_632brp_setup(void)
 
        if (nvram_parse_mac_addr(config, TEW_632BRP_CONFIG_SIZE,
                                 "lan_mac=", mac) == 0) {
-               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);
                wlan_mac = mac;
        }
 
This page took 0.028666 seconds and 4 git commands to generate.