ar71xx: Add support for the OMYlink OMY-X1
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wr703n.c
index 72dc2065ef401fa840fe9e19e8433ee999ea08fb..1d8d01cc63fab3ae1771851c567ced14e3af3dc8 100644 (file)
@@ -86,7 +86,7 @@ static void __init common_setup(unsigned usb_power_gpio, bool sec_ethernet)
 
        if (sec_ethernet)
        {
-               ath79_init_mac(ath79_eth0_data.mac_addr, mac, -1);
+               ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1);
                ath79_register_eth(1);
        }