summaryrefslogtreecommitdiff
path: root/sys-kernel/easy-kernel/files/sop-to-elizafox-for-wifi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/easy-kernel/files/sop-to-elizafox-for-wifi.patch')
-rw-r--r--sys-kernel/easy-kernel/files/sop-to-elizafox-for-wifi.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/sys-kernel/easy-kernel/files/sop-to-elizafox-for-wifi.patch b/sys-kernel/easy-kernel/files/sop-to-elizafox-for-wifi.patch
deleted file mode 100644
index bd80bc52e..000000000
--- a/sys-kernel/easy-kernel/files/sop-to-elizafox-for-wifi.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 0ae6554c2bbfa89218cf3a6e8d8d10581334f551 Mon Sep 17 00:00:00 2001
-From: Matti Gottlieb <matti.gottlieb@intel.com>
-Date: Sun, 14 Feb 2016 17:05:39 +0200
-Subject: iwlwifi: mvm: Fix paging memory leak
-
-commit 905e36ae172c83a30894a3adefab7d4f850fcf54 upstream.
-
-If the opmode is stopped and started again we did not free
-the paging buffers. Fix that.
-In addition when freeing the firmware's paging download
-buffer, set the pointer to NULL.
-
-Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
-Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/wireless/iwlwifi/mvm/fw.c | 2 +-
- drivers/net/wireless/iwlwifi/mvm/mvm.h | 3 +++
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/net/wireless/iwlwifi/mvm/fw.c b/drivers/net/wireless/iwlwifi/mvm/fw.c
-index d906fa1..610c442 100644
---- a/drivers/net/wireless/iwlwifi/mvm/fw.c
-+++ b/drivers/net/wireless/iwlwifi/mvm/fw.c
-@@ -106,7 +106,7 @@ static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant)
- sizeof(tx_ant_cmd), &tx_ant_cmd);
- }
-
--static void iwl_free_fw_paging(struct iwl_mvm *mvm)
-+void iwl_free_fw_paging(struct iwl_mvm *mvm)
- {
- int i;
-
-diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
-index 4bde2d0..244e26c 100644
---- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
-+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
-@@ -1190,6 +1190,9 @@ void iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
- void iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm,
- struct iwl_rx_cmd_buffer *rxb);
-
-+/* Paging */
-+void iwl_free_fw_paging(struct iwl_mvm *mvm);
-+
- /* MVM debugfs */
- #ifdef CONFIG_IWLWIFI_DEBUGFS
- int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir);
---
-cgit v0.12