summaryrefslogtreecommitdiff
path: root/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-05-26 19:44:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-26 19:44:58 +0100
commitf899b8061e7dc46aa2fa30915ed3c8f2cec65253 (patch)
treec920d9d5fc8c2c0b1fc1cf3fe4e7aa27ac9e3a14 /sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch
parent9f43a19884f1659f5ac6f33411225cd98898deac (diff)
rename : sys-kernel/linux-{image,headers}-lts -> sys-kernel/linux-{image,sources}-redcore-lts, version bump
Diffstat (limited to 'sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch')
-rw-r--r--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/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch b/sys-kernel/linux-image-redcore-lts/files/Revert-ath10k-activate-user-space-firmware-loading.patch
new file mode 100644
index 00000000..28f9b2f6
--- /dev/null
+++ b/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);
+