aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-07-15 23:36:17 -0700
committerJosh Blum <josh@joshknows.com>2013-07-15 23:36:17 -0700
commit4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d (patch)
tree2bf4f87fe103117639019365cb40303e498b5694
parent7e753e46e4dd801cbddba3a6d64c87247707973e (diff)
downloaduhd-4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d.tar.gz
uhd-4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d.tar.bz2
uhd-4677db78f1d555e604ff8a12fc7e36ecdb1e3c2d.zip
uhd: packet demuxer, reset queue front b4 pop
-rw-r--r--host/lib/usrp/common/recv_packet_demuxer_3000.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp
index d4c899f1c..9de3666dd 100644
--- a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp
+++ b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp
@@ -65,6 +65,7 @@ namespace uhd{ namespace usrp{
if (not queue.empty())
{
buff = queue.front();
+ queue.front().reset();
queue.pop();
return buff;
}