Skip to content
  • Johannes Berg's avatar
    mac80211: fix suspend vs. authentication race · 1a1cb744
    Johannes Berg authored
    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>
    1a1cb744