summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/spca506.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-30 05:33:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-06 06:57:18 -0300
commit01b988b2abdd60cc58c7916c5f91602d2571e0c5 (patch)
treee2fcbf5d1659650e0e778766b58e2f14c14c9095 /drivers/media/video/gspca/spca506.c
parent16fca0449997f1d77cd2d45d6c34b015f3853012 (diff)
downloadlinux-stable-01b988b2abdd60cc58c7916c5f91602d2571e0c5.tar.gz
linux-stable-01b988b2abdd60cc58c7916c5f91602d2571e0c5.tar.bz2
linux-stable-01b988b2abdd60cc58c7916c5f91602d2571e0c5.zip
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>
Diffstat (limited to 'drivers/media/video/gspca/spca506.c')
-rw-r--r--drivers/media/video/gspca/spca506.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca506.c b/drivers/media/video/gspca/spca506.c
index 6fe715c80ad2..b4cf36a80df5 100644
--- a/drivers/media/video/gspca/spca506.c
+++ b/drivers/media/video/gspca/spca506.c
@@ -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;
}