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

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

Merge "soc: qcom: bam_dmux: Correct payload length handing for dynamic mtu"

parents f5def5ee 10727651
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -701,7 +701,8 @@ static void handle_bam_mux_cmd(struct work_struct *work)
	switch (rx_hdr->cmd) {
	case BAM_MUX_HDR_CMD_DATA:
		if (rx_hdr->pkt_len == 0xffff)
			rx_hdr->pkt_len = sps_size;
			/* SPS includes the header bytes, need just payload */
			rx_hdr->pkt_len = sps_size - sizeof(*rx_hdr);
		DBG_INC_READ_CNT(rx_hdr->pkt_len);
		bam_mux_process_data(rx_skb);
		break;