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

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

Merge "mhi: dev: satellite: validate header version correctly"

parents c82b5148 67a52cd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -353,7 +353,7 @@ static bool mhi_sat_isvalid_header(struct sat_header *hdr, int len)
		return false;

	/* validate SAT IPC version */
	if (hdr->major_ver != SAT_MAJOR_VERSION &&
	if (hdr->major_ver != SAT_MAJOR_VERSION ||
	    hdr->minor_ver != SAT_MINOR_VERSION)
		return false;