aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/gspca/ov534.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c
index 054bdf02c38..ea2245626d5 100644
--- a/drivers/media/video/gspca/ov534.c
+++ b/drivers/media/video/gspca/ov534.c
@@ -487,8 +487,9 @@ scan_next:
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;