Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
Revert "qcacld-3.0: Don't fill any WMA request if target is not ready"
Browse files Browse the repository at this point in the history
This causes issues with Wi-Fi in the setup assistant.

This reverts commit 90440e8.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
  • Loading branch information
nathanchance committed Jun 24, 2018
1 parent 66bb060 commit e18d5ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,6 @@ static void wlan_hdd_pld_uevent(struct device *dev,

switch (uevent->uevent) {
case PLD_RECOVERY:
cds_set_target_ready(false);
hdd_pld_ipa_uc_shutdown_pipes();
wlan_hdd_purge_notifier();
break;
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/qcacld-3.0/core/wma/src/wma_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,6 @@ void wma_set_linkstate(tp_wma_handle wma, tpLinkStateParams params)
vdev_id);
params->status = false;
status = QDF_STATUS_E_NOMEM;
goto out;
}
if (wma_send_vdev_stop_to_fw(wma, vdev_id)) {
WMA_LOGP("%s: %d Failed to send vdev stop vdev %d",
Expand Down
10 changes: 0 additions & 10 deletions drivers/staging/qcacld-3.0/core/wma/src/wma_dev_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -2935,11 +2935,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"),
Expand Down Expand Up @@ -3249,11 +3244,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",
Expand Down

0 comments on commit e18d5ba

Please sign in to comment.