aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-20 08:01:35 -0700
committerJosh Blum <josh@joshknows.com>2011-06-20 08:01:35 -0700
commitb7f6d905af5993f6c0b554777ab2a4559a36db15 (patch)
tree52126a01f28bae14b317fd9e5dacb0703780107d /host
parentd7a4ef00ad96a06b1b6a3faac81bdf5bafd8d466 (diff)
downloaduhd-b7f6d905af5993f6c0b554777ab2a4559a36db15.tar.gz
uhd-b7f6d905af5993f6c0b554777ab2a4559a36db15.tar.bz2
uhd-b7f6d905af5993f6c0b554777ab2a4559a36db15.zip
usrp2: fix typo w/ setting send frame size
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index 9947e71e7..b5e50507c 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -249,7 +249,7 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){
//extract the user's requested MTU size or default
mtu_result_t user_mtu;
user_mtu.recv_mtu = size_t(device_addr.cast<double>("recv_frame_size", udp_simple::mtu));
- user_mtu.send_mtu = size_t(device_addr.cast<double>("recv_frame_size", udp_simple::mtu));
+ user_mtu.send_mtu = size_t(device_addr.cast<double>("send_frame_size", udp_simple::mtu));
try{
//calculate the minimum send and recv mtu of all devices