瀏覽代碼

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
Wu Gao 6 年之前
父節點
當前提交
b901f0e704
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/target_if/tdls/src/target_if_tdls.c

+ 1 - 1
components/target_if/tdls/src/target_if_tdls.c

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