aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-05 10:44:18 -0800
committerMartin Braun <martin.braun@ettus.com>2015-03-05 10:44:18 -0800
commitce9d4346603597f2dbd508879495f0aceddcda92 (patch)
tree0c88f3b12e4dc4494c7abdf314ceb8f939741ffd /host/lib/usrp/usrp2/usrp2_impl.cpp
parente994fad15798e7f2f7a7c34f20bbdee0e6d5ed1a (diff)
parente067c45bdeb5ce7fcef8b96d23244f1c6f51c763 (diff)
downloaduhd-ce9d4346603597f2dbd508879495f0aceddcda92.tar.gz
uhd-ce9d4346603597f2dbd508879495f0aceddcda92.tar.bz2
uhd-ce9d4346603597f2dbd508879495f0aceddcda92.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index 16e8a1f22..50b8431a1 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -316,9 +316,10 @@ static zero_copy_if::sptr make_xport(
/***********************************************************************
* Structors
**********************************************************************/
-usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){
+usrp2_impl::usrp2_impl(const device_addr_t &_device_addr) :
+ device_addr(_device_addr)
+{
UHD_MSG(status) << "Opening a USRP2/N-Series device..." << std::endl;
- device_addr_t device_addr = _device_addr;
//setup the dsp transport hints (default to a large recv buff)
if (not device_addr.has_key("recv_buff_size")){