diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 89ce4e07bd84..19f85e1b3695 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -363,12 +363,7 @@ void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue) | |||
363 | if (test_bit(queue, local->queues_pending)) { | 363 | if (test_bit(queue, local->queues_pending)) { |
364 | tasklet_schedule(&local->tx_pending_tasklet); | 364 | tasklet_schedule(&local->tx_pending_tasklet); |
365 | } else { | 365 | } else { |
366 | if (ieee80211_is_multiqueue(local)) { | 366 | netif_wake_subqueue(local->mdev, queue); |
367 | netif_wake_subqueue(local->mdev, queue); | ||
368 | } else { | ||
369 | WARN_ON(queue != 0); | ||
370 | netif_wake_queue(local->mdev); | ||
371 | } | ||
372 | } | 367 | } |
373 | } | 368 | } |
374 | EXPORT_SYMBOL(ieee80211_wake_queue); | 369 | EXPORT_SYMBOL(ieee80211_wake_queue); |
@@ -377,12 +372,7 @@ void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue) | |||
377 | { | 372 | { |
378 | struct ieee80211_local *local = hw_to_local(hw); | 373 | struct ieee80211_local *local = hw_to_local(hw); |
379 | 374 | ||
380 | if (ieee80211_is_multiqueue(local)) { | 375 | netif_stop_subqueue(local->mdev, queue); |
381 | netif_stop_subqueue(local->mdev, queue); | ||
382 | } else { | ||
383 | WARN_ON(queue != 0); | ||
384 | netif_stop_queue(local->mdev); | ||
385 | } | ||
386 | } | 376 | } |
387 | EXPORT_SYMBOL(ieee80211_stop_queue); | 377 | EXPORT_SYMBOL(ieee80211_stop_queue); |
388 | 378 | ||