aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-27 22:49:19 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-04-08 09:17:00 +0200
commitc8f994eec2a966a7a5fb6a3be517e3ede6a3cafa (patch)
treee2c04a5459150da9f57ad60849351642b6a4fa92 /net/mac80211/iface.c
parentmac80211: remove outdated comment referring to master interface (diff)
downloadlinux-dev-c8f994eec2a966a7a5fb6a3be517e3ede6a3cafa.tar.xz
linux-dev-c8f994eec2a966a7a5fb6a3be517e3ede6a3cafa.zip
mac80211: purge remain-on-channel items when suspending
They can't really be executed while suspended and could trigger work warnings, so abort all ROC items. When the system resumes the notifications about this will be delivered to userspace which can then act accordingly (though it will assume they were canceled/finished.) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 760268e51951..75b322f9d945 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -693,7 +693,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
if (sdata->dev)
netif_tx_stop_all_queues(sdata->dev);
- ieee80211_roc_purge(sdata);
+ ieee80211_roc_purge(local, sdata);
if (sdata->vif.type == NL80211_IFTYPE_STATION)
ieee80211_mgd_stop(sdata);