From: Seth Forshee Date: Tue, 15 Oct 2013 21:16:21 +0000 (-0500) Subject: mac80211: Remove check for offchannel state when waking netdev queues X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~3^2^2~309^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17ac49594fc574665e937f5804134087c0f37115;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/util.c b/net/mac80211/util.c index b763e4c..65ebe0c5 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;