From 983125007ec430108c0f56023fd074592c9a76f2 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 11 Mar 2020 15:52:41 +0100 Subject: ar71xx: remove wrong MAC address adjustment for Archer C60 v2 The adjustment of the MAC address for Archer C60 v2 in 10_fix_wifi_mac is broken since a "mac" partition is not set up for this device on ar71xx. Instead, the MAC address is already patched correctly in 11-ath10k-caldata. Remove the useless adjustment. Signed-off-by: Adrian Schmutzler (cherry picked from commit cbdc91902466dd113b9680566abb2eb2f8022dd4) --- target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index a763938ecd..0530d595a7 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -14,8 +14,7 @@ board=$(board_name) case "$board" in archer-c58-v1|\ archer-c59-v1|\ - archer-c60-v1|\ - archer-c60-v2) + archer-c60-v1) echo $(macaddr_add $(mtd_get_mac_binary mac 8) $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress ;; *) -- cgit v1.2.3