MLK-18675-21 brcmfmac: Remove WOWL configuration in disconnect state
Set wowl configuration in disconnect state is redundant. Remove it to fix no scan result issue after resume. Signed-off-by: Lo-Hsiang Lo <double.lo@cypress.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com>pull/10/head
parent
914cf24ddf
commit
155aafb912
|
@ -3797,7 +3797,8 @@ static s32 brcmf_cfg80211_suspend(struct wiphy *wiphy,
|
|||
if (test_bit(BRCMF_SCAN_STATUS_BUSY, &cfg->scan_status))
|
||||
brcmf_abort_scanning(cfg);
|
||||
|
||||
if (wowl == NULL) {
|
||||
if (!wowl || !test_bit(BRCMF_VIF_STATUS_CONNECTED,
|
||||
&ifp->vif->sme_state)) {
|
||||
brcmf_bus_wowl_config(cfg->pub->bus_if, false);
|
||||
list_for_each_entry(vif, &cfg->vif_list, list) {
|
||||
if (!test_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state))
|
||||
|
|
Loading…
Reference in New Issue