summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach2016-09-20 12:40:33 +0200
committerLuca Coelho2016-09-26 22:15:26 +0200
commit9cd70e80f7f0df1d6d13d8aeb50a16bf40e2962c (patch)
treea13bc7eb2d17655f7a06453c391e733c430827f0 /drivers/net/wireless/intel/iwlwifi/mvm/sta.c
parentiwlwifi: allow error table address new range (diff)
downloadkernel-qcow2-linux-9cd70e80f7f0df1d6d13d8aeb50a16bf40e2962c.tar.gz
kernel-qcow2-linux-9cd70e80f7f0df1d6d13d8aeb50a16bf40e2962c.tar.xz
kernel-qcow2-linux-9cd70e80f7f0df1d6d13d8aeb50a16bf40e2962c.zip
iwlwifi: mvm: initialise ADD_STA before sending it to the firmware
When we unshare a queue, the ADD_STA was not properly initialised. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/sta.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/sta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
index 258a234feb71..fc771885e383 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
@@ -933,7 +933,7 @@ static void iwl_mvm_unshare_queue(struct iwl_mvm *mvm, int queue)
/* If aggs should be turned back on - do it */
if (mvmsta->tid_data[tid].state == IWL_AGG_ON) {
- struct iwl_mvm_add_sta_cmd cmd;
+ struct iwl_mvm_add_sta_cmd cmd = {0};
mvmsta->tid_disable_agg &= ~BIT(tid);