aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-12-28 18:18:24 +0100
committerMathias Kresin <dev@kresin.me>2018-12-29 12:35:47 +0100
commit97dc323a4c311138ca020c4d9e28687d03af08d2 (patch)
tree314428df1d1b1ed3da9756bd59649026fed3c31f
parenta5030f8b10206869b057a93669c5bb5e2168b71f (diff)
downloadupstream-97dc323a4c311138ca020c4d9e28687d03af08d2.tar.gz
upstream-97dc323a4c311138ca020c4d9e28687d03af08d2.tar.bz2
upstream-97dc323a4c311138ca020c4d9e28687d03af08d2.zip
ath79: fix Archer A7 v5 5GHz MAC adress
Currently all Archer A7 v5 have the same (incorrect) MAC address. The address is currently derived from eth1 which is not present on the QCA9563. Use eth0 to get the correct MAC address. Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index b83f3c0b94..53f57be824 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -113,11 +113,11 @@ case "$FIRMWARE" in
ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
- tplink,archer-a7-v5|\
tplink,archer-c7-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
;;
+ tplink,archer-a7-v5|\
tplink,archer-c7-v5)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1)