summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-11 15:52:41 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-14 14:42:41 +0100
commit983125007ec430108c0f56023fd074592c9a76f2 (patch)
tree65c0b8ea5506069a7144c2548ff186735b896918
parent302170d3838ae1f422f22443dff95c288e59b0bc (diff)
downloadopenwrt-983125007ec430108c0f56023fd074592c9a76f2.tar.gz
openwrt-983125007ec430108c0f56023fd074592c9a76f2.tar.bz2
openwrt-983125007ec430108c0f56023fd074592c9a76f2.zip
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 <freifunk@adrianschmutzler.de> (cherry picked from commit cbdc91902466dd113b9680566abb2eb2f8022dd4)
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac3
1 files changed, 1 insertions, 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
;;
*)