Skip to content
Snippets Groups Projects
Commit fdb676ce authored by Wright Feng's avatar Wright Feng Committed by Fugang Duan
Browse files

MLK-21161-03 brcmfmac: add sleep in bus suspend and cfg80211 resume functions


With asynchronous suspend/resume feature, suspend and resume callbacks to
be executed in parallel with each other. It makes bus changes the state to
BRCMF_BUS_DOWN before all brcmf_cfg80211_suspend IOVAR executions.
The same situation also happens in resume procedure and causes PM mode
keeps in PM_MAX after resume. In order to fix the race condition, We add
one second sleep in bus suspend and cfg80211 resume function.

Signed-off-by: default avatarWright Feng <wright.feng@cypress.com>
Signed-off-by: default avatarFugang Duan <fugang.duan@nxp.com>
parent 3f94bfe6
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment