mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
3ac37d0109
commit
9cd70e80f7
@ -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 aggs should be turned back on - do it */
|
||||||
if (mvmsta->tid_data[tid].state == IWL_AGG_ON) {
|
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);
|
mvmsta->tid_disable_agg &= ~BIT(tid);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user