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

Commit b1043e56 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.

parent 97076859
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -916,7 +916,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
		return;
	}

	if (data[len - 1] == 0xff && data[len] == 0xd9) {
	if (data[len - 2] == 0xff && data[len - 1] == 0xd9) {
		/* Just in case, i have seen packets with the marker,
		 * other's do not include it... */
		data += 2;