mac80211: fix idle handling sequence
authorJohannes Berg <johannes.berg@intel.com>
Fri, 22 Mar 2013 21:30:09 +0000 (22:30 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2013 15:50:18 +0000 (16:50 +0100)
commit382a103b2b528a3085cde4ac56fc69d92a828b72
treebeeba4a0f743fcc1b323d81cc6d19b0b06672202
parent3fbd45ca8d1c98f3c2582ef8bc70ade42f70947b
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>
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c