diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-13 06:43:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:12:52 -0400 |
commit | 25420604c8967ff24f087dd7b9cd4b278567d39a (patch) | |
tree | b5a1c0edcca74cf64abce8bd6699774c0c387838 /net/mac80211/ieee80211_i.h | |
parent | b5bde374f0f61f5d97114d400ade8fc96bf6f10d (diff) |
mac80211: stop queues across suspend/resume
Even though userland probably cannot submit packets, there might
still be some coming, and that's no good when the driver doesn't
expect them. Stop the queues across suspend/resume.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index fbb91f1aebb2..ad12c2a03a95 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -598,6 +598,7 @@ enum queue_stop_reason { | |||
598 | IEEE80211_QUEUE_STOP_REASON_PS, | 598 | IEEE80211_QUEUE_STOP_REASON_PS, |
599 | IEEE80211_QUEUE_STOP_REASON_CSA, | 599 | IEEE80211_QUEUE_STOP_REASON_CSA, |
600 | IEEE80211_QUEUE_STOP_REASON_AGGREGATION, | 600 | IEEE80211_QUEUE_STOP_REASON_AGGREGATION, |
601 | IEEE80211_QUEUE_STOP_REASON_SUSPEND, | ||
601 | }; | 602 | }; |
602 | 603 | ||
603 | struct ieee80211_master_priv { | 604 | struct ieee80211_master_priv { |