From 8840c207d528d46931ac4a9db930c33456493472 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Lokere Date: Wed, 29 Jul 2020 14:36:50 -0700 Subject: [PATCH] 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 --- components/wmi/src/wmi_unified_roam_tlv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/wmi/src/wmi_unified_roam_tlv.c b/components/wmi/src/wmi_unified_roam_tlv.c index fe3c8ca92b32..0becb2d3f0b8 100644 --- a/components/wmi/src/wmi_unified_roam_tlv.c +++ b/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 */