aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/usrp/usrp1/io_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp
index b3268298e..8fb639c4a 100644
--- a/host/lib/usrp/usrp1/io_impl.cpp
+++ b/host/lib/usrp/usrp1/io_impl.cpp
@@ -180,6 +180,9 @@ void usrp1_impl::io_impl::commit_send_buff(
//commit the current buffer
curr.buff->commit(num_bytes_to_commit);
+
+ //store the next buffer for the next call
+ curr_buff = next;
}
/*!
@@ -216,9 +219,6 @@ bool usrp1_impl::io_impl::get_send_buffs(
//make a new managed buffer with the offset buffs
buffs[0] = omsb.get_new(curr_buff, next_buff);
- //store the next buffer for the next call
- curr_buff = next_buff;
-
return true;
}