gl-infra-builder-FUjr/patches-22.03.2/3005-ath79-adjust-ath10k-caldata.patch
2023-04-12 05:46:18 -04:00

29 lines
1.0 KiB
Diff

From 4d83e8a3ccdd1ea9ffe6cef5428eada4145a6f34 Mon Sep 17 00:00:00 2001
From: Weiping Yang <weiping.yang@gl-inet.com>
Date: Wed, 12 Apr 2023 05:33:00 -0400
Subject: [PATCH] ath79 adjust ath10k caldata
---
.../nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index e5c26d6bb5..26851e8604 100644
--- a/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -18,6 +18,11 @@ case "$FIRMWARE" in
caldata_extract "art" 0x5000 0x844
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 1)
;;
+ glinet,gl-x750-nor|\
+ glinet,gl-x750-nor-nand)
+ caldata_extract "art" 0x5000 0x844
+ ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 3)
+ ;;
netgear,r6100)
caldata_extract "caldata" 0x5000 0x844
;;
--
2.17.1