[OpenWrt-Devel,2/2] ath79: Correct MAC address for WAN interface of Archer C7 v5
diff mbox series

Message ID 20190403170913.34395-2-freifunk@adrianschmutzler.de
State Not Applicable
Headers show
Series
  • [OpenWrt-Devel,1/2] ar71xx: Correct MAC address for WAN interface of Archer C7 v5
Related show

Commit Message

Adrian Schmutzler April 3, 2019, 5:09 p.m. UTC
This devices shares the network config with v4, thus the WAN MAC
also needs to be fixed the same way.

Based on: https://github.com/openwrt/openwrt/pull/1726

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---
 target/linux/ath79/base-files/etc/board.d/02_network | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index fbf15e4ed8..90b04923b3 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -319,7 +319,8 @@  ath79_setup_macs()
 		wan_mac=$(mtd_get_mac_binary factory 0)
 		lan_mac=$(macaddr_setbit_la "$wan_mac")
 		;;
-	tplink,archer-c7-v4)
+	tplink,archer-c7-v4|\
+	tplink,archer-c7-v5)
 		base_mac=$(mtd_get_mac_binary config 8)
 		wan_mac=$(macaddr_add "$base_mac" 1)
 		;;