iwlwifi: mvm: flush queue before deleting ROC
authorJohannes Berg <johannes.berg@intel.com>
Mon, 13 Nov 2017 16:26:09 +0000 (17:26 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 5 Dec 2017 14:23:29 +0000 (16:23 +0200)
commit6c2d49fdc5d947c5fe89935bd52e69f10000f4cb
tree2f2be004d8ff37ea752a922a938bd15f4567ac99
parent567deca8e72df3ceb6c07c63f8541a4928f64d3b
iwlwifi: mvm: flush queue before deleting ROC

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.

Cc: stable@vger.kernel.org
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/time-event.c