linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH wireless-next] mac80211: fix double flush workqueue
@ 2015-05-15  6:26 Varka Bhadram
  2015-05-19  7:26 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Varka Bhadram @ 2015-05-15  6:26 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes, Varka Bhadram

In suspend functionality flushing of the workqueue is done
with ieee80211_stop_device(). This patch avoid flushing
the workqueue for two times.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
---
 net/mac80211/pm.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c
index ac6ad62..e433d6e 100644
--- a/net/mac80211/pm.c
+++ b/net/mac80211/pm.c
@@ -47,8 +47,6 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
 	/* make quiescing visible to timers everywhere */
 	mb();
 
-	flush_workqueue(local->workqueue);
-
 	/* Don't try to run timers while suspended. */
 	del_timer_sync(&local->sta_cleanup);
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-26 13:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15  6:26 [PATCH wireless-next] mac80211: fix double flush workqueue Varka Bhadram
2015-05-19  7:26 ` Johannes Berg
2015-05-25  4:02   ` Varka Bhadram
2015-05-26 13:16     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).