Commit 96b71404 authored by blogic's avatar blogic
Browse files

ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC

This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).
Signed-off-by: default avatarMatthias Schiffer <>

Backport of r42193

git-svn-id: svn:// 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 985bcd3c
......@@ -168,7 +168,6 @@ static void __init tl_wr1043nd_v2_setup(void)
u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
u8 tmpmac[ETH_ALEN];
......@@ -178,8 +177,7 @@ static void __init tl_wr1043nd_v2_setup(void)
ath79_init_mac(tmpmac, mac, -1);
ath79_register_wmac(art + TL_WR1043_V2_WMAC_CALDATA_OFFSET, tmpmac);
ath79_register_wmac(art + TL_WR1043_V2_WMAC_CALDATA_OFFSET, mac);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment