From: Adrian Schmutzler Date: Sat, 26 Jan 2019 16:59:45 +0000 (+0100) Subject: ar71xx: Fix 5 GHz MAC address for Archer C60 v2 X-Git-Tag: v19.07.0-rc1~1283 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=319c5d7c49503d1afbfb3164b18cf966e11fac6a;p=oweals%2Fopenwrt.git ar71xx: Fix 5 GHz MAC address for Archer C60 v2 Looks like C60 v2 needs the MAC address to be calculated manually, while the C60 v1 gets it correctly without manual interference. Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index ed92f87b20..3450819630 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -171,13 +171,18 @@ case "$FIRMWARE" in archer-c59-v1|\ archer-c59-v2|\ archer-c60-v1|\ - archer-c60-v2|\ cf-e355ac-v2|\ cf-e375ac) ath10kcal_extract "art" 20480 12064 ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \ /lib/firmware/ath10k/QCA9888/hw2.0/board.bin ;; + archer-c60-v2) + ath10kcal_extract "art" 20480 12064 + ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \ + /lib/firmware/ath10k/QCA9888/hw2.0/board.bin + ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1) + ;; cf-e385ac) ath10kcal_extract "art" 20480 12064 ;;