Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45440c7b authored by Will Huang's avatar Will Huang Committed by Madan Koyyalamudi
Browse files

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
parent 8127cfa4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,