iwlwifi: mvm: synchronize TID queue removal
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Jul 2018 21:12:33 +0000 (23:12 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Sun, 11 Nov 2018 09:06:14 +0000 (11:06 +0200)
commit06bc6f6ed4ae0246a5e52094d1be90906a1361c7
tree42cbc0e27f25003ec3c244ee2cbb5e9aeed602f5
parent41c4588b06180aaa46dfc1a7d435befbbf269a93
iwlwifi: mvm: synchronize TID queue removal

When we mark a TID as no longer having a queue, there's no
guarantee the TX path isn't using this txq_id right now,
having accessed it just before we reset the value. To fix
this, add synchronize_net() when we change the TIDs from
having a queue to not having one, so that we can then be
sure that the TX path is no longer accessing that queue.

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