summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/spca506.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-30 10:33:11 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-07-30 10:33:11 +0200
commit89de699923f6881c68e0e4ce483bbdd87e82b252 (patch)
treef94a73dad66c7ba95f77619d2ac6f455654285e4 /linux/drivers/media/video/gspca/spca506.c
parente7d2d55886d7a3813688def14b953a75ba005176 (diff)
downloadmediapointer-dvb-s2-89de699923f6881c68e0e4ce483bbdd87e82b252.tar.gz
mediapointer-dvb-s2-89de699923f6881c68e0e4ce483bbdd87e82b252.tar.bz2
gspca: Bad scan of frame in spca505/506/508.
From: Jean-Francois Moine <moinejf@free.fr> Bug introduced in changeset 6de914aaad86. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/spca506.c')
-rw-r--r--linux/drivers/media/video/gspca/spca506.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/spca506.c b/linux/drivers/media/video/gspca/spca506.c
index 6fe715c80..b4cf36a80 100644
--- a/linux/drivers/media/video/gspca/spca506.c
+++ b/linux/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;
}