treewide: use a single ath10k MAC patching function with checksum
[openwrt/openwrt.git] / package / base-files / files / lib / functions / caldata.sh
index 004bcfa9906bae3967d3a437c2fcc24979e9d50a..1ff69ce1aedddd67e1f5003a40c3979d340e629f 100644 (file)
@@ -121,13 +121,7 @@ ath9k_patch_mac_crc() {
        caldata_patch_mac "$mac" "$mac_offset" "$chksum_offset"
 }
 
-ath10kcal_patch_mac() {
-       local mac=$1
-
-       caldata_patch_mac "$mac" 0x6
-}
-
-ath10kcal_patch_mac_crc() {
+ath10k_patch_mac() {
        local mac=$1
 
        caldata_patch_mac "$mac" 0x6 0x2