aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-01-25 07:36:36 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-25 16:36:29 -0500
commit723bae7ee44fd79c1cd3c7531ed581d373920774 (patch)
tree2f82c098aeb61694d4f6e1ec7f9bb3c29b7d43f3 /net/mac80211/ieee80211_i.h
parent382b16559d599c4260aeb82a5ea5ba44459d1cd2 (diff)
mac80211: track work started through callbacks
Currently, the remain_on_channel work callback needs to track in its own data structure whether the work was just started or not. By reordering some code this becomes unnecessary, the generic wk->started variable can still be 'false' on the first invocation and only be 'true' on actual timeout invocations, so that the extra variable can be removed. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index c18f576f1848..3067fbd69d63 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -299,7 +299,6 @@ struct ieee80211_work {
299 } assoc; 299 } assoc;
300 struct { 300 struct {
301 u32 duration; 301 u32 duration;
302 bool started;
303 } remain; 302 } remain;
304 }; 303 };
305 304