diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index 565c3c52d2..a69da7a8df 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -1571,6 +1571,7 @@ static void wlan_hdd_pld_uevent(struct device *dev, hdd_enter(); hdd_info("pld event %d", uevent->uevent); + wma_wmi_stop(); wlan_hdd_set_the_pld_uevent(uevent); mutex_lock(&hdd_init_deinit_lock); wlan_hdd_handle_the_pld_uevent(uevent); diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index d6da9e1744..d0674045d3 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -1735,11 +1735,6 @@ QDF_STATUS wma_create_peer(tp_wma_handle wma, struct cdp_pdev *pdev, target_resource_config *wlan_res_cfg; struct wlan_objmgr_peer *obj_peer = NULL; - if (!cds_is_target_ready()) { - WMA_LOGE(FL("target not ready, drop the request")); - return QDF_STATUS_E_BUSY; - } - if (!psoc) { WMA_LOGE("%s: psoc is NULL", __func__); return QDF_STATUS_E_INVAL; diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 1e1f6a1b81..0aef450f3c 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -1961,7 +1961,6 @@ 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;