From c0360b882d3f8eb297926e648b224a9be9a33ea0 Mon Sep 17 00:00:00 2001 From: gl-yangweiping Date: Fri, 29 Apr 2022 04:48:48 -0400 Subject: [PATCH] fix ath10k collapse --- patches-19.x/0114-fix-ath10k-collapse.patch | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 patches-19.x/0114-fix-ath10k-collapse.patch diff --git a/patches-19.x/0114-fix-ath10k-collapse.patch b/patches-19.x/0114-fix-ath10k-collapse.patch new file mode 100644 index 0000000..d1ce6cd --- /dev/null +++ b/patches-19.x/0114-fix-ath10k-collapse.patch @@ -0,0 +1,30 @@ +From b9c37f8a41102cb09bcc180b9df698e759666e68 Mon Sep 17 00:00:00 2001 +From: gl-yangweiping +Date: Fri, 29 Apr 2022 04:42:06 -0400 +Subject: [PATCH] fix ath10k collapse + +--- + .../ath79/patches-4.14/941-fix-ath10-crashes.patch | 11 +++++++++++ + 1 file changed, 11 insertions(+) + create mode 100644 target/linux/ath79/patches-4.14/941-fix-ath10-crashes.patch + +diff --git a/target/linux/ath79/patches-4.14/941-fix-ath10-crashes.patch b/target/linux/ath79/patches-4.14/941-fix-ath10-crashes.patch +new file mode 100644 +index 0000000000..0a4cf1f8c8 +--- /dev/null ++++ b/target/linux/ath79/patches-4.14/941-fix-ath10-crashes.patch +@@ -0,0 +1,11 @@ ++--- a/drivers/net/wireless/ath/ath10k/pci.c +++++ b/drivers/net/wireless/ath/ath10k/pci.c ++@@ -1940,8 +1940,6 @@ static int ath10k_pci_bmi_wait(struct at ++ ret = 0; ++ goto out; ++ } ++- ++- schedule(); ++ } ++ ++ ret = -ETIMEDOUT; +-- +2.17.1 +