Naftali Goldstein bd800e41a3 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>
2017-09-08 11:43:38 +03:00
..
2017-08-13 20:12:23 -07:00
2017-08-19 17:13:41 -07:00
2017-08-11 14:42:28 -07:00
2017-08-24 09:57:28 +02:00
2017-08-22 14:25:50 -07:00
2017-08-16 11:01:57 -07:00
2017-09-05 14:26:41 -07:00
2017-08-13 20:05:12 -07:00