ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 May 2014 08:01:33 +0000 (08:01 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 May 2014 08:01:33 +0000 (08:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40840 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c

index 72dc206..1d8d01c 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);
        }