mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
5c1eb5d42f
commit
2dab3ec9fa
1 changed files with 9 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue