qcacmn: Remove structure wmi_tdls_params
Using both structure wmi_tdls_params and tdls_info if TDLS component sets FW states, which will cause memory corruption potentially. Use enum wmi_tdls_state as type of tdls state. Change-Id: Ia1e78a5c6d8aee9ab5166c0704dd7827f42c2457 CRs-Fixed: 2372452
This commit is contained in:
@@ -185,13 +185,14 @@ QDF_STATUS wmi_unified_set_tdls_offchan_mode_cmd(void *wmi_hdl,
|
||||
/**
|
||||
* wmi_unified_update_fw_tdls_state_cmd() - send enable/disable tdls for a vdev
|
||||
* @wmi_handle: wmi handle
|
||||
* @pwmaTdlsparams: TDLS params
|
||||
* @tdls_param: TDLS params
|
||||
* @tdls_state: TDLS state
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_update_fw_tdls_state_cmd(void *wmi_hdl,
|
||||
void *tdls_param,
|
||||
uint8_t tdls_state);
|
||||
struct tdls_info *tdls_param,
|
||||
enum wmi_tdls_state tdls_state);
|
||||
|
||||
/**
|
||||
* wmi_unified_update_tdls_peer_state_cmd() - update TDLS peer state
|
||||
|
Reference in New Issue
Block a user