浏览代码

qcacld-3.0: Use converged beacon template WMI cmd

WMI beacon template wmi cmd is converged in WMI layer.
Use converged beacon template WMI cmd and legacy cmd
is removed.

Change-Id: Ia76ec059489d9faa7b5420a8eb88c89ffe0807dc
CRs-Fixed: 2038284
Govind Singh 8 年之前
父节点
当前提交
4ff22580dc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/wma/src/wma_mgmt.c

+ 2 - 2
core/wma/src/wma_mgmt.c

@@ -2339,7 +2339,7 @@ static QDF_STATUS wma_unified_bcn_tmpl_send(tp_wma_handle wma,
 				     const tpSendbeaconParams bcn_info,
 				     uint8_t bytes_to_strip)
 {
-	struct beacon_params params = {0};
+	struct beacon_tmpl_params params = {0};
 	uint32_t tmpl_len, tmpl_len_aligned;
 	uint8_t *frm;
 	QDF_STATUS ret;
@@ -2387,7 +2387,7 @@ static QDF_STATUS wma_unified_bcn_tmpl_send(tp_wma_handle wma,
 	params.frm = frm;
 	params.tmpl_len_aligned = tmpl_len_aligned;
 
-	ret = wmi_unified_beacon_send_cmd(wma->wmi_handle,
+	ret = wmi_unified_beacon_tmpl_send_cmd(wma->wmi_handle,
 				 &params);
 	if (QDF_IS_STATUS_ERROR(ret))
 		WMA_LOGE("%s: Failed to send bcn tmpl: %d", __func__, ret);