aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-14 11:51:48 -0700
committerJosh Blum <josh@joshknows.com>2010-10-14 11:51:48 -0700
commit4582a2deb385c0a4849f5d20c44a5469779bcbb2 (patch)
treea9a939d44e33b82974f07002d66d51727b668429 /host/lib/usrp/usrp2/usrp2_impl.cpp
parent376e22ca3bf25c8d6bb53cd987b245e5b79860f9 (diff)
downloaduhd-4582a2deb385c0a4849f5d20c44a5469779bcbb2.tar.gz
uhd-4582a2deb385c0a4849f5d20c44a5469779bcbb2.tar.bz2
uhd-4582a2deb385c0a4849f5d20c44a5469779bcbb2.zip
usrp2: move udp port initialization into mboard impl so its done before async registers are setup
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index e271f839c..afc69f703 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -171,9 +171,8 @@ usrp2_impl::usrp2_impl(
//create a new mboard handler for each control transport
for(size_t i = 0; i < ctrl_transports.size(); i++){
_mboards.push_back(usrp2_mboard_impl::sptr(new usrp2_mboard_impl(
- i, ctrl_transports[i],
+ i, ctrl_transports[i], data_transports[i],
this->get_max_recv_samps_per_packet(),
- _data_transports[i]->get_send_frame_size(),
flow_control_hints
)));
//use an empty name when there is only one mboard