iwlwifi: mvm: flush queue before deleting ROC

commit 6c2d49fdc5 upstream.

Before deleting a time event (remain-on-channel instance), flush
the queue so that frames cannot get stuck on it. We already flush
the AUX STA queues, but a separate station is used for the P2P
Device queue.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Johannes Berg 2017-11-13 17:26:09 +01:00 • committed by Greg Kroah-Hartman
commit 60e9426449
2 changed files with 24 additions and 2 deletions