]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e579dbe017b7fea09eea7935145a2748c4a70f0
tree98b4c56366ddbe3af4475c1b119b285a0d837eb8
parent1bd79bba37ac9698d6b03a00c42809197a9bda5e
mac80211: clear timer bits when disconnecting

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>
net/mac80211/mesh.c
net/mac80211/mlme.c