Jelajahi Sumber

qcacld-3.0: Fix rome invoke command TLV setting

Set the rome invoke cmd TLV for beacon buffer length.

Change-Id: I7f2e9b2f0ee010fecea0940f5a039b431e9cb27a
CRs-Fixed: 2743989
Kiran Kumar Lokere 4 tahun lalu
induk
melakukan
8840c207d5
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      components/wmi/src/wmi_unified_roam_tlv.c

+ 3 - 0
components/wmi/src/wmi_unified_roam_tlv.c

@@ -1167,6 +1167,9 @@ static QDF_STATUS send_roam_invoke_cmd_tlv(wmi_unified_t wmi_handle,
 		       sizeof(wmi_tlv_buf_len_param));
 
 	buf_len_tlv = (wmi_tlv_buf_len_param *)(buf_ptr + WMI_TLV_HDR_SIZE);
+	WMITLV_SET_HDR(&buf_len_tlv->tlv_header,
+		       WMITLV_TAG_STRUC_wmi_tlv_buf_len_param,
+		       WMITLV_GET_STRUCT_TLVLEN(wmi_tlv_buf_len_param));
 	buf_len_tlv->buf_len = roaminvoke->frame_len;
 
 	/* move to next tlv i.e. bcn_prb_frm */