ar71xx: fix MAC address setup for TL-WDR4300 board
[openwrt/staging/wigyori.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wdr4300.c
index 972cb7960d4af5fb01f78b5a08ef1e62f6ef7bc4..b9fea95bc20ccb4e8d0b82cafb3ce16af7f8d206 100644 (file)
@@ -183,7 +183,7 @@ static void __init wdr4300_setup(void)
 
        ath79_register_mdio(0, 0x0);
 
-       ath79_init_mac(ath79_eth0_data.mac_addr, mac, -2);
+       ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
 
        /* GMAC0 is connected to an AR8327N switch */
        ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;