mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacld-3.0: Fix vdev destroy during ssr reinit
During hdd wlan reinit VDEV delete command is not sent to firmware since cds_driver_recovery is True and it is set to False at later stage. To fix this, remove recovery check in wma_vdev_detach to send WMI command to FW as WMI is active during reinit phase. Change-Id: I94b7437edbf0c5bccbc469ce01940b14b46258fb CRs-Fixed: 2333475
This commit is contained in:
parent
f9705a1e62
commit
505b15b861
1 changed files with 1 additions and 1 deletions
|
|
@ -818,7 +818,7 @@ QDF_STATUS wma_vdev_detach(tp_wma_handle wma_handle,
|
|||
* Cleanup the ObjMgr Peers for the current vdev and detach the
|
||||
* CDP Vdev.
|
||||
*/
|
||||
if (cds_is_driver_recovering() || !cds_is_target_ready()) {
|
||||
if (!cds_is_target_ready()) {
|
||||
wma_force_objmgr_vdev_peer_cleanup(wma_handle, vdev_id);
|
||||
wma_release_vdev_ref(wma_handle, vdev_id);
|
||||
wma_cdp_vdev_detach(soc, wma_handle, vdev_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue