diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-03-23 01:30:09 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-25 19:50:18 +0400 |
commit | 382a103b2b528a3085cde4ac56fc69d92a828b72 (patch) | |
tree | beeba4a0f743fcc1b323d81cc6d19b0b06672202 /net/mac80211/ieee80211_i.h | |
parent | 3fbd45ca8d1c98f3c2582ef8bc70ade42f70947b (diff) | |
download | linux-382a103b2b528a3085cde4ac56fc69d92a828b72.tar.xz |
mac80211: fix idle handling sequence
Corey Richardson reported that my idle handling cleanup
(commit fd0f979a1b, "mac80211: simplify idle handling")
broke ath9k_htc. The reason appears to be that it wants
to go out of idle before switching channels. To fix it,
reimplement that sequence.
Reported-by: Corey Richardson <corey@octayn.net>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 7bdefd901f9d..5672533a0832 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1362,6 +1362,7 @@ int ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata, enum nl80211_iftype type); void ieee80211_if_remove(struct ieee80211_sub_if_data *sdata); void ieee80211_remove_interfaces(struct ieee80211_local *local); +u32 ieee80211_idle_off(struct ieee80211_local *local); void ieee80211_recalc_idle(struct ieee80211_local *local); void ieee80211_adjust_monitor_flags(struct ieee80211_sub_if_data *sdata, const int offset); |