qcacld-3.0: Avoid sending ENABLE RTSCTS cmd in FTM

FTM mode doesn't have session ID and no need to send wma_cli_set_command
for WMI_VDEV_PARAM_ENABLE_RTSCTS which is per vdev.

Change-Id: I1583439e3d4a9f8c52f687c8f5bc1340860a1614
CRs-Fixed: 1079143
This commit is contained in:
Rajeev Kumar Sirasanagandla 2016-10-18 16:10:15 +05:30 • committed by qcabuildsw
commit 2dab3ec9fa

View file

@ -3188,19 +3188,19 @@ int hdd_set_fw_params(hdd_adapter_t *adapter)
ret);
goto error;
}
ret = wma_cli_set_command(adapter->sessionId,
WMI_VDEV_PARAM_ENABLE_RTSCTS,
hdd_ctx->config->rts_profile,
VDEV_CMD);
if (ret) {
hdd_err("FAILED TO SET RTSCTS Profile ret:%d", ret);
goto error;
}
}
hdd_set_fw_log_params(hdd_ctx, adapter);
ret = wma_cli_set_command(adapter->sessionId,
WMI_VDEV_PARAM_ENABLE_RTSCTS,
hdd_ctx->config->rts_profile,
VDEV_CMD);
if (ret) {
hdd_err("FAILED TO SET RTSCTS Profile ret:%d", ret);
goto error;
}
EXIT();
return 0;