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@xxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html