mac80211: clear timer bits when disconnecting
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Aug 2012 18:54:52 +0000 (20:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 1 Aug 2012 18:58:28 +0000 (20:58 +0200)
There's a corner case that can happen when we
suspend with a timer running, then resume and
disconnect. If we connect again, suspend and
resume we might start timers that shouldn't be
running. Reset the timer flags to avoid this.

This affects both mesh and managed modes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found