diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-07 19:17:21 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-07 19:17:21 +0000 |
commit | 760f6f840204736439a65d5d773f1dd5e4f4157a (patch) | |
tree | bee567754d9f99b2f3f9f4612f3b6ae4f895ceda /host | |
parent | 272b08ce9a66b3ba1b9dc91922afff410145231f (diff) | |
parent | 8ebe12659c117ad6ff5f6e6ef762d55bf77d8dd1 (diff) | |
download | uhd-760f6f840204736439a65d5d773f1dd5e4f4157a.tar.gz uhd-760f6f840204736439a65d5d773f1dd5e4f4157a.tar.bz2 uhd-760f6f840204736439a65d5d773f1dd5e4f4157a.zip |
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/usrp2/io_impl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp index 367a1d9fb..2634e84aa 100644 --- a/host/lib/usrp/usrp2/io_impl.cpp +++ b/host/lib/usrp/usrp2/io_impl.cpp @@ -38,6 +38,9 @@ void usrp2_impl::io_init(void){ //initially empty copy buffer _rx_copy_buff = asio::buffer("", 0); + //init the expected rx seq number + _rx_stream_id_to_packet_seq[0] = 0; + //send a small data packet so the usrp2 knows the udp source port //and the maximum number of lines (32 bit words) per packet managed_send_buffer::sptr send_buff = _data_transport->get_send_buff(); |