Johannes Berg 5bb644a0fd mac80211: cancel/restart all timers across suspend/resume
We forgot to cancel all timers in mac80211 when suspending.
In particular we forgot to deal with some things that can
cause hardware reconfiguration -- while it is down.

While at it we go ahead and add a warning in ieee80211_sta_work()
if its run while the suspend->resume cycle is in effect. This
should not happen and if it does it would indicate there is
a bug lurking in either mac80211 or mac80211 drivers.

With this now wpa_supplicant doesn't blink when I go to suspend
and resume where as before there where issues with some timers
running during the suspend->resume cycle. This caused a lot of
incorrect assumptions and would at times bring back the device
in an incoherent, but mostly recoverable, state.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-20 14:46:25 -04:00
..
2009-05-06 15:14:37 -04:00
2007-05-05 11:46:38 -07:00
2009-05-06 15:14:37 -04:00
2009-04-22 16:54:28 -04:00
2009-04-22 16:57:17 -04:00
2009-05-11 15:23:54 -04:00
2009-04-22 16:57:16 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2009-05-11 15:23:54 -04:00
2009-02-27 14:51:42 -05:00
2009-05-20 14:46:25 -04:00
2009-05-20 14:46:25 -04:00
2009-05-06 15:14:37 -04:00
2009-05-13 15:44:53 -04:00
2009-03-27 20:13:21 -04:00
2008-10-31 18:05:59 -04:00
2009-05-13 15:44:53 -04:00
2009-04-22 16:54:28 -04:00