mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 03:51:48 +00:00
V4L/DVB (8573): gspca: Bad scan of frame in spca505/506/508.
Bug introduced in changeset 6de914aaad86. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
16fca04499
commit
01b988b2ab
@ -776,7 +776,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
|
||||
default:
|
||||
data += 1;
|
||||
len -= 1;
|
||||
gspca_frame_add(gspca_dev, FIRST_PACKET, frame,
|
||||
gspca_frame_add(gspca_dev, INTER_PACKET, frame,
|
||||
data, len);
|
||||
break;
|
||||
}
|
||||
|
@ -588,7 +588,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
|
||||
default:
|
||||
data += 1;
|
||||
len -= 1;
|
||||
gspca_frame_add(gspca_dev, FIRST_PACKET, frame,
|
||||
gspca_frame_add(gspca_dev, INTER_PACKET, frame,
|
||||
data, len);
|
||||
break;
|
||||
}
|
||||
|
@ -1583,7 +1583,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
|
||||
default:
|
||||
data += 1;
|
||||
len -= 1;
|
||||
gspca_frame_add(gspca_dev, FIRST_PACKET, frame,
|
||||
gspca_frame_add(gspca_dev, INTER_PACKET, frame,
|
||||
data, len);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user