summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SERVICES/WMA/wma.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index dfbf102c5c0c..910233f30310 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -1152,7 +1152,6 @@ wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle, u_int32_t if_id,
wmi_vdev_set_param_cmd_fixed_param *cmd;
wmi_buf_t buf;
u_int16_t len = sizeof(*cmd);
- tp_wma_handle wma;
buf = wmi_buf_alloc(wmi_handle, len);
if (!buf) {
@@ -1169,17 +1168,6 @@ wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle, u_int32_t if_id,
cmd->param_value = param_value;
WMA_LOGD("Setting vdev %d param = %x, value = %u",
if_id, param_id, param_value);
-
- wma = vos_get_context(VOS_MODULE_ID_WDA,
- vos_get_global_context(VOS_MODULE_ID_WDA, NULL));
-
- if (!wma->interfaces[if_id].vdev_up) {
- WMA_LOGE("%s:vdev %d is not up. Skipping to send set param cmd"
- , __func__, if_id);
- wmi_buf_free(buf);
- return -EINVAL;
- }
-
ret = wmi_unified_cmd_send(wmi_handle, buf, len,
WMI_VDEV_SET_PARAM_CMDID);
if (ret < 0) {