summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-14 16:55:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-14 16:55:35 +0100
commit220840c8e1c8eb2bb47910668c095132abfea736 (patch)
tree40f07baf479a85297bb77a04873f15a2318bee00 /packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch
parent8b451e264dc35906cdb5c850961f7b23ec835cbc (diff)
sys-kernel/linux-image-redcore-lts : initial exheres
Diffstat (limited to 'packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch')
-rw-r--r--packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch b/packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch
new file mode 100644
index 0000000..28f9b2f
--- /dev/null
+++ b/packages/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch
@@ -0,0 +1,13 @@
+diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
+index a4f635820..9b4c4facf 100644
+--- a/drivers/net/wireless/ath/ath10k/core.c
++++ b/drivers/net/wireless/ath/ath10k/core.c
+@@ -519,7 +519,7 @@ static const struct firmware *ath10k_fetch_fw_file(struct ath10k *ar,
+ dir = ".";
+
+ snprintf(filename, sizeof(filename), "%s/%s", dir, file);
+- ret = request_firmware(&fw, filename, ar->dev);
++ ret = request_firmware_direct(&fw, filename, ar->dev);
+ ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n",
+ filename, ret);
+