]> 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)
commit729a7ba172bcc0dc014dc7c49d672377ae6cde54
tree98b4c56366ddbe3af4475c1b119b285a0d837eb8
parent688923da2894a2e2354abd06815ef194c1663dec
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