Fix sequence error indication after stopping then restarting streaming on USRP2.
[debian/gnuradio] / usrp2 / host / lib / usrp2_impl.cc
index 5592c76ea932ee631914de62ad74e736a0c4063b..882ad7414ad15bea9f26bf902c3fcfe062ac86cd 100644 (file)
@@ -840,6 +840,7 @@ namespace usrp2 {
       success = transmit_cmd_and_wait(&cmd, sizeof(cmd), &p, DEF_CMD_TIMEOUT);
       success = success && (ntohx(reply.ok) == 1);
       d_channel_rings[channel].reset();
+      d_rx_seqno = -1;
       //fprintf(stderr, "usrp2::stop_rx_streaming:  success = %d\n", success);
       return success;
     }