aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-22 22:30:09 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-03-25 16:50:18 +0100
commit382a103b2b528a3085cde4ac56fc69d92a828b72 (patch)
treebeeba4a0f743fcc1b323d81cc6d19b0b06672202 /net/mac80211/iface.c
parentmac80211: fix remain-on-channel cancel crash (diff)
downloadlinux-dev-382a103b2b528a3085cde4ac56fc69d92a828b72.tar.xz
linux-dev-382a103b2b528a3085cde4ac56fc69d92a828b72.zip
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.c2
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;