]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix suspend vs. association race
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 13 May 2014 09:54:09 +0000 (12:54 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 May 2014 11:58:16 +0000 (13:58 +0200)
commit1868a0ca24f6e0abb7a9942f14fc3345bef79d25
treed41cd95578966fad216aff7c9c905e7cb6579a59
parent7c512d1ee4f1ee7140fe21ae3e243f5d6fa16c47
mac80211: fix suspend vs. association race

If the association is in progress while we suspend, the
stack will be in a messed up state. Clean it before we
suspend.

This patch completes Johannes's patch:

a5a9f7b69bf034c1680e3987dbf55f325febc789
Author: Johannes Berg <johannes.berg@intel.com>

    mac80211: fix suspend vs. authentication race

Cc: <stable@vger.kernel.org>
Fixes: d29deaa307fc ("mac80211: cleanup generic suspend/resume procedures")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c