qcacld-3.0: Send correct HE caps length
While sending HE caps to FW the length parameter is not updated, resulting in incorrect value for 2 GHz. To fix this initialize the HE caps length before sending WMI_VDEV_SET_IE_PARAM_CMDID. Change-Id: I2126e02f82f48a0b3110bc7e1dbee887d2f8b0db CRs-Fixed: 3250116
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0c43291096
commit
a2014b4353
@@ -7811,6 +7811,7 @@ QDF_STATUS lim_send_he_caps_ie(struct mac_context *mac_ctx,
|
|||||||
pe_err("Unable send HE Cap IE for 5GHZ band, status: %d",
|
pe_err("Unable send HE Cap IE for 5GHZ band, status: %d",
|
||||||
status_5g);
|
status_5g);
|
||||||
|
|
||||||
|
he_caps[1] = SIR_MAC_HE_CAP_MIN_LEN;
|
||||||
lim_set_he_caps(mac_ctx, session, he_caps, he_cap_total_len,
|
lim_set_he_caps(mac_ctx, session, he_caps, he_cap_total_len,
|
||||||
CDS_BAND_2GHZ);
|
CDS_BAND_2GHZ);
|
||||||
he_cap = (struct he_capability_info *)(&he_caps[2 + HE_CAP_OUI_SIZE]);
|
he_cap = (struct he_capability_info *)(&he_caps[2 + HE_CAP_OUI_SIZE]);
|
||||||
|
Reference in New Issue
Block a user