aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100/e100_mmap_zero_copy.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-03-25 16:08:03 -0700
committerJosh Blum <josh@joshknows.com>2013-03-25 16:08:03 -0700
commit8488eb09d7db13f67f38dc986b191fd6f3eeea2d (patch)
tree5d5026f8fb62b09332e49d72d2bbbe7a97881b94 /host/lib/usrp/e100/e100_mmap_zero_copy.cpp
parent55d450ba11d8ae46734e291d2876a4a2c9eaaba3 (diff)
parent404a84fcef665d262eee09ba10c841acdd7cbdf2 (diff)
downloaduhd-8488eb09d7db13f67f38dc986b191fd6f3eeea2d.tar.gz
uhd-8488eb09d7db13f67f38dc986b191fd6f3eeea2d.tar.bz2
uhd-8488eb09d7db13f67f38dc986b191fd6f3eeea2d.zip
Merge branch 'maint'
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;