/* Let's get a bit of data and see if we can find a packet. */
len = sizeof(buf);
ret = serial_stream_detect(serial, buf, &len, dmm->packet_size,
- dmm->packet_valid, 3000);
+ dmm->packet_valid, NULL, NULL, 3000);
if (ret != SR_OK)
goto scan_cleanup;