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

Commit 3c7c3b2c authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: qrtr: mhi_dev: Only post valid data"

parents 77f7a8d1 5b2c3a9a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -108,6 +108,8 @@ static void qrtr_mhi_dev_read(struct qrtr_mhi_dev_ep *qep)
				bytes_read);
			return;
		}
		if (bytes_read == 0)
			return;

		rc = qrtr_endpoint_post(&qep->ep, req.buf, req.transfer_len);
		if (rc == -EINVAL)