summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2019-07-31 14:51:55 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-07-31 14:51:55 +0300
commit66f5772ee29db1062d5677a26e4e0ec9c6308c16 (patch)
tree2b63a19cf416e52984a7e47cc8006a519a30c860 /drivers/net/wireless/intel/iwlwifi/pcie/tx.c
parentdf612421fe2566654047769c6852ffae1a31df16 (diff)
parent71b256f8f7a5c09810d2c3ed6165629c2cc0a652 (diff)
downloadlinux-stable-66f5772ee29db1062d5677a26e4e0ec9c6308c16.tar.gz
linux-stable-66f5772ee29db1062d5677a26e4e0ec9c6308c16.tar.bz2
linux-stable-66f5772ee29db1062d5677a26e4e0ec9c6308c16.zip
Merge tag 'iwlwifi-fixes-for-kvalo-2019-07-30' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
We have a lot of fixes, most of them are also applicable to stable. Notably: * fix use-after-free issues * fix DMA mapping API usage errors * fix frame drop occurring due to reorder buffer handling in RSS in certain conditions * fix rate scale locking issues * disable TX A-MSDU on older NICs as it causes problems and was never supposed to be supported * new PCI IDs * GEO_TX_POWER_LIMIT API issue that many people were hitting
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie/tx.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/pcie/tx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/tx.c b/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
index fa4245d0d4a8..2f0ba7ef53b8 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/tx.c
@@ -435,6 +435,8 @@ static void iwl_pcie_tfd_unmap(struct iwl_trans *trans,
DMA_TO_DEVICE);
}
+ meta->tbs = 0;
+
if (trans->cfg->use_tfh) {
struct iwl_tfh_tfd *tfd_fh = (void *)tfd;