From ee3082224f579da63b33f44f5275288032aac774 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 14 Mar 2013 17:48:34 -0700 Subject: e100: switch to fixed length xfers --- host/lib/usrp/e100/e100_mmap_zero_copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/e100/e100_mmap_zero_copy.cpp') 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; -- cgit v1.2.3