mac80211: stop only the queues assigned to the vif during channel switch
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 13 Jun 2014 13:30:07 +0000 (16:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:22:29 +0000 (14:22 +0200)
commita46992b441f097a971cca39f49d07a0d16a1c0d8
treed80aacded124a3add8691ada27deb47ce6722ae0
parent26da23b6950cd1aaae86caa541eb4befc9e96e1d
mac80211: stop only the queues assigned to the vif during channel switch

Instead of stopping all the hardware queues during channel switch,
which is especially bad when we have large CSA counts, stop only the
queues that are assigned to the vif that is performing the channel
switch.

Additionally, check for (sdata->csa_block_tx) instead of calling
ieee80211_csa_needs_block_tx(), which can now be removed.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mlme.c