Revert "qcacld-3.0: Don't fill any WMA request if target is not ready"

This reverts commit I358841566f858e115b3b04f12f4d8b70b75d1dfc.

Change-Id: I1701fcf0910d47a0bac91bf20d6271c6f6144590
CRs-Fixed: 2246741
This commit is contained in:
Sandeep Puligilla 2018-05-22 11:39:32 -07:00 committed by nshrivas
parent 7ba93501b5
commit 63c07ee307
3 changed files with 0 additions and 12 deletions

View File

@ -1503,7 +1503,6 @@ static void wlan_hdd_handle_the_pld_uevent(struct pld_uevent_data *uevent)
switch (uevent->uevent) {
case PLD_RECOVERY:
cds_set_target_ready(false);
hdd_pld_ipa_uc_shutdown_pipes();
break;
case PLD_FW_DOWN:

View File

@ -1250,7 +1250,6 @@ void wma_set_linkstate(tp_wma_handle wma, tpLinkStateParams params)
vdev_id);
params->status = false;
status = QDF_STATUS_E_NOMEM;
goto out;
}
wma_vdev_set_pause_bit(vdev_id, PAUSE_TYPE_HOST);
if (wma_send_vdev_stop_to_fw(wma, vdev_id)) {

View File

@ -3256,11 +3256,6 @@ struct wma_target_req *wma_fill_hold_req(tp_wma_handle wma,
struct wma_target_req *req;
QDF_STATUS status;
if (!cds_is_target_ready()) {
WMA_LOGE("target not ready, drop the request");
return NULL;
}
req = qdf_mem_malloc(sizeof(*req));
if (!req) {
WMA_LOGE(FL("Failed to allocate memory for msg %d vdev %d"),
@ -3587,11 +3582,6 @@ struct wma_target_req *wma_fill_vdev_req(tp_wma_handle wma,
struct wma_target_req *req;
QDF_STATUS status;
if (!cds_is_target_ready()) {
WMA_LOGE("target not ready, drop the request");
return NULL;
}
req = qdf_mem_malloc(sizeof(*req));
if (!req) {
WMA_LOGE("%s: Failed to allocate memory for msg %d vdev %d",