diff --git a/drivers/media/usb/dvb-usb/technisat-usb2.c b/drivers/media/usb/dvb-usb/technisat-usb2.c index c659e18b358b..2006626f3969 100644 --- a/drivers/media/usb/dvb-usb/technisat-usb2.c +++ b/drivers/media/usb/dvb-usb/technisat-usb2.c @@ -667,6 +667,11 @@ static int technisat_usb2_get_ir(struct dvb_usb_device *d) ir_raw_event_store(d->rc_dev, &ev); break; } + + /* break out the loop cause the sizeof buffer is reached*/ + if ( b == ( buf + 63)) { + break; + } } ir_raw_event_handle(d->rc_dev);