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
This commit is contained in:
Govind Singh 2017-04-25 16:01:53 +05:30 • committed by snandini
commit 4ff22580dc

View file

@ -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);