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/iface.c | |
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/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 3bfe2612c8c2..58150f877ec3 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -78,7 +78,7 @@ void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata) ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_TXPOWER); } -static u32 ieee80211_idle_off(struct ieee80211_local *local) +u32 ieee80211_idle_off(struct ieee80211_local *local) { if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) return 0; |