ath79: sync naming of Ubiquiti devices
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index e3a3432dd184811535d06c97990b05a81e895ea1..c3cc4d998673ef995af4ba4fe22b918f52556185 100644 (file)
@@ -87,11 +87,15 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath10k/cal-pci-0000:00:00.0.bin")
        case $board in
-       openmesh,om5p-ac-v2)
+       "openmesh,om5p-ac-v2")
                ath10kcal_extract "ART" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
                ;;
-       "ubnt,ubnt-unifiac-lite")
+       "tplink,tl-archer-c7-v2")
+               ath10kcal_extract "art" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
+               ;;
+       "ubnt,unifiac-lite")
                ath10kcal_extract "EEPROM" 20480 2116
                ;;
        esac