Commits
Wright Feng committed 02bf1d13f6c
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: Wright Feng <wright.feng@cypress.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com> (cherry picked from commit fdb676ce002039d7359b200b6c2cc728f41c05fa)