iwlwifi: mvm: remove RECONFIGURING queue state
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Jul 2018 19:57:58 +0000 (21:57 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 8 Oct 2018 07:48:28 +0000 (10:48 +0300)
commit90d2d94c9184327703eec583890e2e0452003da8
treeb18f4ffeac1a1cd7f1d58ddd36e76999e4ef42f4
parentdf2a2245db6b458f7ef0d9b38dc10684b90d2ece
iwlwifi: mvm: remove RECONFIGURING queue state

We set the queue to this state, only to pretty much immediately
move it out of it again. However, we can't even hit any of the
code that checks if the queue is reconfiguring, because all of
this happens under mvm->mutex and we hold the all the way from
marking the queue as RECONFIGURING to marking it as READY again.

Additionally, the queue that became RECONFIGURING would've been
in SHARED state before, and it can safely stay in that state. In
case of errors, it previously would have stayed in RECONFIGURING
which it could never have left again.

Remove the state entirely and just track the queues that need to
be reconfigured in a separate, local, bitmap.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.c