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

Commit 1937149f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: qmi: Do not reserve TLV space twice while encoding nested structures"

parents 39f1568a 46cd4578
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -385,6 +385,7 @@ static int _qmi_kernel_encode(struct elem_info *ei_array,

	tlv_pointer = buf_dst;
	tlv_len = 0;
	if (enc_level == 1)
		buf_dst = buf_dst + (TLV_LEN_SIZE + TLV_TYPE_SIZE);

	while (temp_ei->data_type != QMI_EOTI) {