diff options
Diffstat (limited to 'net/mac80211/pm.c')
-rw-r--r-- | net/mac80211/pm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c index e145a949b820..d287fde0431d 100644 --- a/net/mac80211/pm.c +++ b/net/mac80211/pm.c | |||
@@ -64,6 +64,8 @@ int __ieee80211_suspend(struct ieee80211_hw *hw) | |||
64 | 64 | ||
65 | /* remove all interfaces */ | 65 | /* remove all interfaces */ |
66 | list_for_each_entry(sdata, &local->interfaces, list) { | 66 | list_for_each_entry(sdata, &local->interfaces, list) { |
67 | cancel_work_sync(&sdata->work); | ||
68 | |||
67 | switch(sdata->vif.type) { | 69 | switch(sdata->vif.type) { |
68 | case NL80211_IFTYPE_STATION: | 70 | case NL80211_IFTYPE_STATION: |
69 | ieee80211_sta_quiesce(sdata); | 71 | ieee80211_sta_quiesce(sdata); |