qcacmn: Remove unused structure while sending probe resp template

While sending probe response template down to firmware, driver
populates some items in data-structure which is not getting used.

Remove those unused items and send only what is needed.

CRs-Fixed: 2130437
Change-Id: I1878f523f0f88c354854dfdb75e60e66c4ecb0e8
diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c
index d92fbdb..081c9bb 100644
--- a/wmi_unified_tlv.c
+++ b/wmi_unified_tlv.c
@@ -4887,8 +4887,7 @@
  */
 static QDF_STATUS send_probe_rsp_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle,
 				   uint8_t vdev_id,
-				   struct wmi_probe_resp_params *probe_rsp_info,
-				   uint8_t *frm)
+				   struct wmi_probe_resp_params *probe_rsp_info)
 {
 	wmi_prb_tmpl_cmd_fixed_param *cmd;
 	wmi_bcn_prb_info *bcn_prb_info;
@@ -4899,7 +4898,7 @@
 
 	WMI_LOGD(FL("Send probe response template for vdev %d"), vdev_id);
 
-	tmpl_len = probe_rsp_info->probeRespTemplateLen;
+	tmpl_len = probe_rsp_info->prb_rsp_template_len;
 	tmpl_len_aligned = roundup(tmpl_len, sizeof(A_UINT32));
 
 	wmi_buf_len = sizeof(wmi_prb_tmpl_cmd_fixed_param) +
@@ -4938,7 +4937,7 @@
 
 	WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_BYTE, tmpl_len_aligned);
 	buf_ptr += WMI_TLV_HDR_SIZE;
-	qdf_mem_copy(buf_ptr, frm, tmpl_len);
+	qdf_mem_copy(buf_ptr, probe_rsp_info->prb_rsp_template_frm, tmpl_len);
 
 	ret = wmi_unified_cmd_send(wmi_handle,
 				   wmi_buf, wmi_buf_len, WMI_PRB_TMPL_CMDID);