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:
@@ -935,7 +935,8 @@ QDF_STATUS (*send_set_tdls_offchan_mode_cmd)(wmi_unified_t wmi_handle,
|
||||
struct tdls_channel_switch_params *chan_switch_params);
|
||||
|
||||
QDF_STATUS (*send_update_fw_tdls_state_cmd)(wmi_unified_t wmi_handle,
|
||||
void *tdls_param, uint8_t tdls_state);
|
||||
struct tdls_info *tdls_param,
|
||||
enum wmi_tdls_state tdls_state);
|
||||
|
||||
QDF_STATUS (*send_update_tdls_peer_state_cmd)(wmi_unified_t wmi_handle,
|
||||
struct tdls_peer_state_params *peerStateParams,
|
||||
|
Reference in New Issue
Block a user