All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  • Johannes Berg's avatar
    mac80211: cancel/restart all timers across suspend/resume · 5bb644a0
    Johannes Berg authored
    We forgot to cancel all timers in mac80211 when suspending.
    In particular we forgot to deal with some things that can
    cause hardware reconfiguration -- while it is down.
    While at it we go ahead and add a warning in ieee80211_sta_work()
    if its run while the suspend->resume cycle is in effect. This
    should not happen and if it does it would indicate there is
    a bug lurking in either mac80211 or mac80211 drivers.
    With this now wpa_supplicant doesn't blink when I go to suspend
    and resume where as before there where issues with some timers
    running during the suspend->resume cycle. This caused a lot of
    incorrect assumptions and would at times bring back the device
    in an incoherent, but mostly recoverable, state.
    Signed-off-by: default avatarLuis R. Rodriguez <>
    Signed-off-by: default avatarJohannes Berg <>
    Signed-off-by: default avatarJohn W. Linville <>
pm.c 2.83 KB