dect
/
linux-2.6
Archived
13
0
Fork 0

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

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Jean-Francois Moine 2008-09-29 07:03:06 -03:00 committed by Mauro Carvalho Chehab
parent 9707685959
commit b1043e562e
1 changed files with 1 additions and 1 deletions

View File

@ -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;