qcacld-3.0: Update num_transmit_power_env before packing probe response

num_transmit_power_env of tDot11fProbeResponse should also update like
tDot11fBeacon2, otherwise default value is 0, and transmit power
envelope IE(195) will not pack into probe response template.

Fix it by updating num_transmit_power_env of tDot11fProbeResponse to
same as tDot11fBeacon2.

Change-Id: I865ba9d9ad96068c52d3d6434b113cb7662e95c6
CRs-Fixed: 2933031
This commit is contained in:
Will Huang 2021-05-06 10:34:26 +08:00 • committed by Madan Koyyalamudi
commit 45440c7b62

View file

@ -884,6 +884,7 @@ void lim_update_probe_rsp_template_ie_bitmap_beacon2(struct mac_context *mac,
sizeof(beacon2->transmit_power_env[i]));
}
}
prb_rsp->num_transmit_power_env = num_tpe;
if (beacon2->VHTExtBssLoad.present) {
set_probe_rsp_ie_bitmap(DefProbeRspIeBitmap,