diff options
author | Naftali Goldstein | 2017-08-28 10:51:05 +0200 |
---|---|---|
committer | Luca Coelho | 2017-09-08 10:43:38 +0200 |
commit | bd800e41a3de5c7e56b2fd27088bdaf5e228d227 (patch) | |
tree | 724b6e0a84bf13aab82f5aa42fcb41af909a09a5 /drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | |
parent | iwlwifi: mvm: send all non-bufferable frames on the probe queue (diff) | |
download | kernel-qcow2-linux-bd800e41a3de5c7e56b2fd27088bdaf5e228d227.tar.gz kernel-qcow2-linux-bd800e41a3de5c7e56b2fd27088bdaf5e228d227.tar.xz kernel-qcow2-linux-bd800e41a3de5c7e56b2fd27088bdaf5e228d227.zip |
iwlwifi: mvm: change state when queueing agg start work
Add a new state to enum iwl_mvm_agg_state, which is used between
queueing the work that starts tx aggregations and actually starting that
work (changing to state IWL_AGG_STARTING).
This solves a race where ieee80211_start_tx_ba_session is called a
second time, before the work queued by the first run has a chance to
change the agg_state. In this case the second call to
ieee80211_start_tx_ba_session returns an error, and the fallback is to
abort the ba session start.
Fixes: 482e48440a0e ("iwlwifi: mvm: change open and close criteria of a BA session")
Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c')
0 files changed, 0 insertions, 0 deletions