diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-06 18:14:51 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-11 12:45:01 -0500 |
commit | fd0f979a1b67f0889aea24a7c7d2a54d6706a1cf (patch) | |
tree | fce94dd9fa9783eb4dc8b0ed6a2c322650889991 /net/mac80211/ieee80211_i.h | |
parent | f1e3e0515646dd0f4c783c1c39839d2706501344 (diff) |
mac80211: simplify idle handling
Now that we have channel contexts, idle is (pretty
much) equivalent to not having a channel context.
Change the code to use this relation so that there
no longer is a need for a lot of idle recalculate
calls everywhere.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index fafeb309a5fe..5635dfc7da34 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -689,9 +689,6 @@ struct ieee80211_sub_if_data { | |||
689 | 689 | ||
690 | char name[IFNAMSIZ]; | 690 | char name[IFNAMSIZ]; |
691 | 691 | ||
692 | /* to detect idle changes */ | ||
693 | bool old_idle; | ||
694 | |||
695 | /* Fragment table for host-based reassembly */ | 692 | /* Fragment table for host-based reassembly */ |
696 | struct ieee80211_fragment_entry fragments[IEEE80211_FRAGMENT_MAX]; | 693 | struct ieee80211_fragment_entry fragments[IEEE80211_FRAGMENT_MAX]; |
697 | unsigned int fragment_next; | 694 | unsigned int fragment_next; |