projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7b70f
)
mac80211: don't stop all queues when flushing
author
Luciano Coelho
<luciano.coelho@intel.com>
Fri, 13 Jun 2014 13:30:04 +0000
(16:30 +0300)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 23 Jun 2014 12:22:24 +0000
(14:22 +0200)
There is no need to stop all queues when we want to flush specific
queues, so stop only the queues that will be flushed.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index 6886601afe1c731c3cc7b5409745307b2f48e67c..6d29e40538ad7886cef285379da08a1458c69411 100644
(file)
--- a/
net/mac80211/util.c
+++ b/
net/mac80211/util.c
@@
-551,12
+551,12
@@
void ieee80211_flush_queues(struct ieee80211_local *local,
queues = BIT(local->hw.queues) - 1;
}
- ieee80211_stop_queues_by_reason(&local->hw,
IEEE80211_MAX_QUEUE_MAP
,
+ ieee80211_stop_queues_by_reason(&local->hw,
queues
,
IEEE80211_QUEUE_STOP_REASON_FLUSH);
drv_flush(local, sdata, queues, false);
- ieee80211_wake_queues_by_reason(&local->hw,
IEEE80211_MAX_QUEUE_MAP
,
+ ieee80211_wake_queues_by_reason(&local->hw,
queues
,
IEEE80211_QUEUE_STOP_REASON_FLUSH);
}