summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Chen <matt.chen@intel.com>2017-03-15 02:12:09 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-15 02:12:09 +0000
commitee80f8e02265769a57c1f2e77c6fc9ff7ed65408 (patch)
treec2df895d8edb7097b3054cc4315e91482086abb6
parent609d86bb1b14fbdbbe616dbef6dbadbf0c8371d9 (diff)
parent8650af261d6c119062da542c70881653db0a0b20 (diff)
mac80211: flush delayed work when entering suspend
am: 8650af261d Change-Id: I953388770e8b1940c90476fc9559f0a158d78e99
-rw-r--r--net/mac80211/pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c
index 00a43a70e1fc..0402fa45b343 100644
--- a/net/mac80211/pm.c
+++ b/net/mac80211/pm.c
@@ -168,6 +168,7 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
break;
}
+ flush_delayed_work(&sdata->dec_tailroom_needed_wk);
drv_remove_interface(local, sdata);
}