소스 검색

ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 40840
Felix Fietkau 11 년 전
부모
커밋
83dc560621
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c

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

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