Skip to content
Commit 1a1cb744 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: fix suspend vs. authentication race

Since Stanislaw's patch removing the quiescing code, mac80211 had
a race regarding suspend vs. authentication: as cfg80211 doesn't
track authentication attempts, it can't abort them. Therefore the
attempts may be kept running while suspending, which can lead to
all kinds of issues, in at least some cases causing an error in
iwlmvm firmware.

Fix this by aborting the authentication attempt when suspending.

Cc: stable@vger.kernel.org
Fixes: 12e7f517

 ("mac80211: cleanup generic suspend/resume procedures")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c9c3a060
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment