mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
ar71xx: Correct MAC address for WAN interface of Archer C7 v5
This device shares the network config with v4, thus the WAN MAC
also needs to be fixed the same way. However, the partition
where the MAC address resides has been changed.
Backport of commit 93d23aced2
Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
c7eb679047
commit
7268ebb1e4
@ -580,6 +580,10 @@ ar71xx_setup_macs()
|
||||
base_mac=$(mtd_get_mac_binary config 8)
|
||||
wan_mac=$(macaddr_add "$base_mac" 1)
|
||||
;;
|
||||
archer-c7-v5)
|
||||
base_mac=$(mtd_get_mac_binary info 8)
|
||||
wan_mac=$(macaddr_add "$base_mac" 1)
|
||||
;;
|
||||
dgl-5500-a1|\
|
||||
dir-825-c1)
|
||||
wan_mac=$(mtd_get_mac_ascii nvram "wan_mac")
|
||||
|
Loading…
Reference in New Issue
Block a user