mac80211: simplify idle handling
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Feb 2013 23:14:51 +0000 (00:14 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 17:45:01 +0000 (18:45 +0100)
commitfd0f979a1b67f0889aea24a7c7d2a54d6706a1cf
treefce94dd9fa9783eb4dc8b0ed6a2c322650889991
parentf1e3e0515646dd0f4c783c1c39839d2706501344
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>
net/mac80211/chan.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mlme.c