qcacld-3.0: Use enum wmi_tdls_state as type of tdls state

Define tdls state as enum wmi_tdls_state, and pass it to
wmi_unified_update_fw_tdls_state_cmd.

Change-Id: I77defc28f78bf3152241f6fb75a7235e06c39c14
CRs-Fixed: 2372455
This commit is contained in:
Wu Gao
2018-12-25 18:07:02 +08:00
committed by nshrivas
parent 06d38d8c48
commit b901f0e704

View File

@@ -86,7 +86,7 @@ target_if_tdls_update_fw_state(struct wlan_objmgr_psoc *psoc,
struct tdls_info *param)
{
QDF_STATUS status;
uint8_t tdls_state;
enum wmi_tdls_state tdls_state;
struct wmi_unified *wmi_handle;
wmi_handle = get_wmi_unified_hdl_from_psoc(psoc);