aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2019-06-19 13:24:26 -0700
committermichael-west <michael.west@ettus.com>2019-06-28 08:21:09 -0700
commit55b9f7309f6f49eccd1157e898b77dc9a6afd238 (patch)
tree2c5b0b153699f98cb0d1ba19877f9e4f599e843e
parent2aa5289d0cfe127058cdd8ee67915c9020179955 (diff)
downloaduhd-55b9f7309f6f49eccd1157e898b77dc9a6afd238.tar.gz
uhd-55b9f7309f6f49eccd1157e898b77dc9a6afd238.tar.bz2
uhd-55b9f7309f6f49eccd1157e898b77dc9a6afd238.zip
nirio: Fix typo in nirio_zero_copy
Signed-off-by: Michael West <michael.west@ettus.com>
-rw-r--r--host/lib/transport/nirio_zero_copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio_zero_copy.cpp b/host/lib/transport/nirio_zero_copy.cpp
index e72064427..9cd6644f1 100644
--- a/host/lib/transport/nirio_zero_copy.cpp
+++ b/host/lib/transport/nirio_zero_copy.cpp
@@ -411,7 +411,7 @@ nirio_zero_copy::sptr nirio_zero_copy::make(
size_t usr_num_recv_frames = static_cast<size_t>(
hints.cast<double>("num_recv_frames", default_buff_args.num_recv_frames));
size_t usr_recv_buff_size = static_cast<size_t>(
- hints.cast<double>("recv_buff_size", default_buff_args.num_recv_frames));
+ hints.cast<double>("recv_buff_size", default_buff_args.recv_buff_size));
if (hints.has_key("recv_buff_size")) {
if (usr_recv_buff_size % page_size != 0) {