diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2013-10-15 16:16:21 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-28 15:05:26 +0100 |
commit | 17ac49594fc574665e937f5804134087c0f37115 (patch) | |
tree | 30ccd530d8e08e9a40737b2b77df11a31c49181e /net | |
parent | ef91ffaa033001c2ba65d3c9659f1a75886d0aa3 (diff) |
mac80211: Remove check for offchannel state when waking netdev queues
6c17b77b67587b9f9e3070fb89fe98cef3187131 ensures that a device's
mac80211 queues will remain stopped while offchannel. Since the
vif can no longer be offchannel when the queues wake it's not
necessary to check for this before waking its netdev queues.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index b763e4ccaf5..65ebe0c5e83 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -300,9 +300,6 @@ void ieee80211_propagate_queue_wake(struct ieee80211_local *local, int queue) if (!sdata->dev) continue; - if (test_bit(SDATA_STATE_OFFCHANNEL, &sdata->state)) - continue; - if (sdata->vif.cab_queue != IEEE80211_INVAL_HW_QUEUE && local->queue_stop_reasons[sdata->vif.cab_queue] != 0) continue; |