V4L/DVB (11104): gspca - ov534: Bad frame pointer after adding the last packet

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 2009-03-19 06:05:06 -03:00 committed by Mauro Carvalho Chehab
parent 0dc641dc9f
commit 3481c19854

View File

@ -487,8 +487,9 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, struct gspca_frame *frame,
goto discard;
}
gspca_frame_add(gspca_dev, LAST_PACKET, frame, NULL, 0);
}
frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame,
NULL, 0);
}
/* Done this payload */
goto scan_next;