iwlwifi: mvm: stop static queues correctly
authorAvraham Stern <avraham.stern@intel.com>
Sun, 20 Jan 2019 09:33:57 +0000 (11:33 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 14 Feb 2019 09:29:52 +0000 (11:29 +0200)
commit99944b73069d8bcea573c07df8dc8d4f33e78586
tree19c2cf70c2fd4b068bfc67d8188579aae55a9822
parent86ce5c740320ba4034b13227bacab8184857f37a
iwlwifi: mvm: stop static queues correctly

AP interfaces still use some static TX queues (for probes,
broadcast and multicast frames). These queues were not stopped
correctly when the transport layer indicated the queue should be
stopped. As a result, when flushing the queues, new frames from
the overflow queue were tx'd, so the queues still had frames after
flushing. This ended up in an assert since trying to remove a station
with non-empty queues.

Fix it by stopping the static queues correctly when required.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c