ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 May 2014 08:01:33 +0000 (08:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 May 2014 08:01:33 +0000 (08:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40840

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);
        }