aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-03-14 17:48:34 -0700
committerJosh Blum <josh@joshknows.com>2013-03-25 16:05:41 -0700
commitee3082224f579da63b33f44f5275288032aac774 (patch)
tree8a780cb65ac80c4c0ed7ac3e88127c742d54e303 /host/lib/usrp/e100/e100_mmap_zero_copy.cpp
parentc5223d192205f729b316197c83fc69eb67b6ee45 (diff)
downloaduhd-ee3082224f579da63b33f44f5275288032aac774.tar.gz
uhd-ee3082224f579da63b33f44f5275288032aac774.tar.bz2
uhd-ee3082224f579da63b33f44f5275288032aac774.zip
e100: switch to fixed length xfers
Diffstat (limited to 'host/lib/usrp/e100/e100_mmap_zero_copy.cpp')
-rw-r--r--host/lib/usrp/e100/e100_mmap_zero_copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/e100/e100_mmap_zero_copy.cpp b/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
index 58beeb424..57e4e32d9 100644
--- a/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
+++ b/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
@@ -70,7 +70,7 @@ public:
void release(void){
if (fp_verbose) UHD_LOGV(always) << "send buff: commit " << size() << std::endl;
- _info->len = size();
+ _info->len = _len;//size();
_info->flags = RB_USER; //release the frame
if (::write(_fd, NULL, 0) < 0){ //notifies the kernel
UHD_LOGV(rarely) << UHD_THROW_SITE_INFO("write error") << std::endl;