diff options
-rw-r--r-- | net/mac80211/pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c index 6d17ed7fd49b..44525f517077 100644 --- a/net/mac80211/pm.c +++ b/net/mac80211/pm.c | |||
@@ -44,6 +44,9 @@ int __ieee80211_suspend(struct ieee80211_hw *hw) | |||
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||
47 | /* flush again, in case driver queued work */ | ||
48 | flush_workqueue(local->hw.workqueue); | ||
49 | |||
47 | /* stop hardware */ | 50 | /* stop hardware */ |
48 | if (local->open_count) { | 51 | if (local->open_count) { |
49 | ieee80211_led_radio(local, false); | 52 | ieee80211_led_radio(local, false); |