aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/e100/e100_ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/e100/e100_ctrl.cpp b/host/lib/usrp/e100/e100_ctrl.cpp
index 397543f14..5a9b93633 100644
--- a/host/lib/usrp/e100/e100_ctrl.cpp
+++ b/host/lib/usrp/e100/e100_ctrl.cpp
@@ -292,7 +292,7 @@ struct e100_simpl_msb : managed_send_buffer
{
//load the data struct
data.offset = 0;
- data.count = size()/4+1/*1 for flush pad*/;
+ data.count = size()/4+1/*1 for header offset*/;
//call the ioctl
ctrl->ioctl(USRP_E_WRITE_CTL32, &data);
@@ -300,7 +300,7 @@ struct e100_simpl_msb : managed_send_buffer
sptr get_new(void)
{
- return make(this, data.buf, sizeof(data.buf));
+ return make(this, data.buf+1, sizeof(data.buf)-4);
}
};