iwlwifi: dvm: drop VO packets when mac80211 tells us to
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 10 Mar 2015 20:42:50 +0000 (22:42 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 06:57:44 +0000 (08:57 +0200)
commita3a0a5992e47869232cffcb02b7d32fe5204ac7c
tree790087dc3dc55614f96277ecb7453e2f11758e43
parent4cd4b50cc2429294c23a1998c33fdfd804db0f37
iwlwifi: dvm: drop VO packets when mac80211 tells us to

mac80211 now informs the driver when to drop the packets
upon flush(). This will happen before disconnecting, or
before we shut down the interface. We can now rely on this
to drop all the packets including the VO queues.
When mac80211 sets drop to false, wait for all the queues
to be empty.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/dvm/mac80211.c