diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c index 78c674297592c01ca02940b66d8a8bd9a173a1f6..7e435a36b0562c3515cde07ffb25ba35fbb7bdc3 100644 --- a/drivers/media/video/gspca/t613.c +++ b/drivers/media/video/gspca/t613.c @@ -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;