From: Martin DvH Date: Wed, 21 Apr 2010 15:18:33 +0000 (-0700) Subject: Fix sequence error indication after stopping then restarting streaming on USRP2. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8d3a78da9dd988ee5704a83eedd7c71ba8a87607;p=debian%2Fgnuradio Fix sequence error indication after stopping then restarting streaming on USRP2. --- diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc index 5592c76e..882ad741 100644 --- a/usrp2/host/lib/usrp2_impl.cc +++ b/usrp2/host/lib/usrp2_impl.cc @@ -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; }