ar71xx: remove wrong MAC address adjustment for Archer C60 v2
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Mar 2020 14:52:41 +0000 (15:52 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Mar 2020 15:09:16 +0000 (16:09 +0100)
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>
target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac

index f93a9f745bb58bc45b2c0a7f096344750b845ee9..2a06b7d07b8115cca8bfca2e68d335d3f33fd768 100644 (file)
@@ -15,8 +15,7 @@ case "$board" in
        archer-c58-v1|\
        archer-c59-v1|\
        archer-c59-v2|\
-       archer-c60-v1|\
-       archer-c60-v2)
+       archer-c60-v1)
                echo $(macaddr_add $(mtd_get_mac_binary mac 0x8)  $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
                ;;
        *)