Browse Source

qcacld-3.0: correct the wrong structure used for add and del twt

Correct the Wrong command structure used for cmd_params in
sme_add_dialog_cmd and sme_del_dialog_cmd.

CRs-Fixed: 2785748
Change-Id: Ief2344c61e40ab9b180ceafd02f97ad974f798e1
Rajasekaran Kalidoss 4 years ago
parent
commit
1bc3122569
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/sme/src/common/sme_api.c

+ 2 - 2
core/sme/src/common/sme_api.c

@@ -14535,7 +14535,7 @@ QDF_STATUS sme_add_dialog_cmd(mac_handle_t mac_handle,
 	struct scheduler_msg twt_msg = {0};
 	QDF_STATUS status;
 	void *wma_handle;
-	struct wmi_twt_del_dialog_param *cmd_params;
+	struct wmi_twt_add_dialog_param *cmd_params;
 
 	SME_ENTER();
 	wma_handle = cds_get_context(QDF_MODULE_ID_WMA);
@@ -14595,7 +14595,7 @@ QDF_STATUS sme_del_dialog_cmd(mac_handle_t mac_handle,
 	struct scheduler_msg twt_msg = {0};
 	QDF_STATUS status;
 	void *wma_handle;
-	struct wmi_twt_add_dialog_param *cmd_params;
+	struct wmi_twt_del_dialog_param *cmd_params;
 
 	SME_ENTER();
 	wma_handle = cds_get_context(QDF_MODULE_ID_WMA);