qcacld-3.0: Check for target ready before sending wmi command

SAP stop is in progress when FW down event is received
from platform driver. Vdev_stop command is not sent to
firmware due to target ready check but same check is not
present for self peer_delete command. This results in
assert in firmware since vdev_stop command is not received
before self peer_delete command.

Fix is to set wmi_stopinprogress as part of wma shutdown
notifier callback.

Change-Id: I91fa6aaffe4f35b446a3c8748f168e83620bf4b0
CRs-Fixed: 2266786
This commit is contained in:
Yeshwanth Sriram Guntuka
2018-07-25 15:01:57 +05:30
committed by nshrivas
parent 3c5c29341d
commit bde430efe6

View File

@@ -1955,6 +1955,7 @@ static void wma_shutdown_notifier_cb(void *priv)
qdf_event_set(&wma_handle->wma_resume_event);
pmo_ucfg_psoc_wakeup_host_event_received(wma_handle->psoc);
wmi_stop(wma_handle->wmi_handle);
msg.bodyptr = priv;
msg.callback = wma_cleanup_vdev_resp_and_hold_req;