diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-10-26 14:39:22 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-12-20 13:48:23 +0100 |
commit | 3f73b8cad1d2923bf27caeaba705c4a64b287f1e (patch) | |
tree | 148da6b5683168bcf1635b265db22e184d0309f2 /drivers/net/wireless/intel/iwlwifi/dvm/tx.c | |
parent | iwlwifi: pcie: re-organize code towards TSO (diff) | |
download | linux-3f73b8cad1d2923bf27caeaba705c4a64b287f1e.tar.xz linux-3f73b8cad1d2923bf27caeaba705c4a64b287f1e.zip |
iwlwifi: clear ieee80211_tx_info->driver_data in the op_mode
The transport will need to use the info->driver_data
pointers. Since the op_mode has this memory hot in cache,
clear it there.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm/tx.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/dvm/tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/tx.c b/drivers/net/wireless/intel/iwlwifi/dvm/tx.c index cf0ad5f832e5..59e2001c39f8 100644 --- a/drivers/net/wireless/intel/iwlwifi/dvm/tx.c +++ b/drivers/net/wireless/intel/iwlwifi/dvm/tx.c @@ -383,6 +383,7 @@ int iwlagn_tx_skb(struct iwl_priv *priv, iwlagn_tx_cmd_build_rate(priv, tx_cmd, info, sta, fc); memset(&info->status, 0, sizeof(info->status)); + memset(info->driver_data, 0, sizeof(info->driver_data)); info->driver_data[0] = ctx; info->driver_data[1] = dev_cmd; |