gl-infra-builder-FUjr/patches-22.03.4/2001-ath79-e750-crash-after-restart-5g-wifi.patch
Yin Ni 000d74a138 e750: solve the wifi crash problem
Signed-off-by: Yin Ni <yin.ni@gl-inet.com>
2023-05-03 23:37:50 -07:00

34 lines
1.1 KiB
Diff

From f09b1cb8f95e96e278dd49e1e4dd45a71dbbf14e Mon Sep 17 00:00:00 2001
From: Yin Ni <yin.ni@gl-inet.com>
Date: Wed, 3 May 2023 21:05:36 -0700
Subject: [PATCH] ath10k: e750 crash after restart 5g wifi
Signed-off-by: Yin Ni <yin.ni@gl-inet.com>
---
.../ath10k/992-ath79-adjust-ath10k-caldata.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 package/kernel/mac80211/patches/ath10k/992-ath79-adjust-ath10k-caldata.patch
diff --git a/package/kernel/mac80211/patches/ath10k/992-ath79-adjust-ath10k-caldata.patch b/package/kernel/mac80211/patches/ath10k/992-ath79-adjust-ath10k-caldata.patch
new file mode 100644
index 0000000000..df37efad10
--- /dev/null
+++ b/package/kernel/mac80211/patches/ath10k/992-ath79-adjust-ath10k-caldata.patch
@@ -0,0 +1,13 @@
+Index: b/drivers/net/wireless/ath/ath10k/pci.c
+===================================================================
+--- a/drivers/net/wireless/ath/ath10k/pci.c
++++ b/drivers/net/wireless/ath/ath10k/pci.c
+@@ -2261,7 +2261,7 @@ static int ath10k_pci_bmi_wait(struct at
+ goto out;
+ }
+
+- schedule();
++ //schedule();
+ }
+
+ ret = -ETIMEDOUT;
--
2.25.1