summaryrefslogtreecommitdiff
path: root/usrp2/host/lib/usrp2_impl.cc
diff options
context:
space:
mode:
authorMartin DvH2010-04-21 08:18:33 -0700
committerJohnathan Corgan2010-04-21 08:18:33 -0700
commit8d3a78da9dd988ee5704a83eedd7c71ba8a87607 (patch)
tree93fc08e165e142d25dd59ca445a222c2e17183ef /usrp2/host/lib/usrp2_impl.cc
parent7389f7a46fbad90dc1ae2c8232f770b03c27a38f (diff)
downloadgnuradio-8d3a78da9dd988ee5704a83eedd7c71ba8a87607.tar.gz
gnuradio-8d3a78da9dd988ee5704a83eedd7c71ba8a87607.tar.bz2
gnuradio-8d3a78da9dd988ee5704a83eedd7c71ba8a87607.zip
Fix sequence error indication after stopping then restarting streaming on USRP2.
Diffstat (limited to 'usrp2/host/lib/usrp2_impl.cc')
-rw-r--r--usrp2/host/lib/usrp2_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc
index 5592c76ea..882ad7414 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;
}