qcacld-3.0: Revert "Fix assert for wmi cmd for invalid vdev"
Avoid sending any new WMI command during RTPM WoW sequence. Change-Id: I78554358c2f225a9ead0dd347174b1a3189300f3 CRs-Fixed: 3157005
This commit is contained in:

committato da
Madan Koyyalamudi

parent
481fbdb119
commit
89d99afd4c
@@ -363,10 +363,7 @@ static void pmo_core_set_suspend_ps_params(struct wlan_objmgr_psoc *psoc)
|
||||
WLAN_PMO_ID);
|
||||
if (!vdev)
|
||||
continue;
|
||||
if (wlan_vdev_mlme_get_state(vdev) != WLAN_VDEV_S_UP) {
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_PMO_ID);
|
||||
continue;
|
||||
}
|
||||
|
||||
vdev_ctx = pmo_vdev_get_priv(vdev);
|
||||
pmo_configure_vdev_suspend_params(psoc, vdev, vdev_ctx);
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_PMO_ID);
|
||||
@@ -678,10 +675,7 @@ static void pmo_core_set_resume_ps_params(struct wlan_objmgr_psoc *psoc)
|
||||
WLAN_PMO_ID);
|
||||
if (!vdev)
|
||||
continue;
|
||||
if (wlan_vdev_mlme_get_state(vdev) != WLAN_VDEV_S_UP) {
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_PMO_ID);
|
||||
continue;
|
||||
}
|
||||
|
||||
vdev_ctx = pmo_vdev_get_priv(vdev);
|
||||
pmo_configure_vdev_resume_params(psoc, vdev, vdev_ctx);
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_PMO_ID);
|
||||
|
Fai riferimento in un nuovo problema
Block a user