From 8ebe12659c117ad6ff5f6e6ef762d55bf77d8dd1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 7 May 2010 11:31:18 -0700 Subject: fix for first seqno on rx, init the variable --- host/lib/usrp/usrp2/io_impl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib/usrp/usrp2') 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(); -- cgit v1.2.3