aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2010-08-18 19:26:38 -0700
committerThomas Tsou <ttsou@vt.edu>2010-08-18 19:26:38 -0700
commit5ac2f224154c819c0e0a788cbcd98da764950e70 (patch)
tree1cf0fd52ba08bbf618582e17a74b0866624c0a49 /host/lib/usrp
parent024377afa9628c282a5f7584ca5cc8991dd1296f (diff)
downloaduhd-5ac2f224154c819c0e0a788cbcd98da764950e70.tar.gz
uhd-5ac2f224154c819c0e0a788cbcd98da764950e70.tar.bz2
uhd-5ac2f224154c819c0e0a788cbcd98da764950e70.zip
usrp1: Return proper mboard proxy
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/usrp1/mboard_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/mboard_impl.cpp b/host/lib/usrp/usrp1/mboard_impl.cpp
index c3343f1f8..48a919f2a 100644
--- a/host/lib/usrp/usrp1/mboard_impl.cpp
+++ b/host/lib/usrp/usrp1/mboard_impl.cpp
@@ -298,7 +298,7 @@ void usrp1_impl::mboard_set(const wax::obj &key, const wax::obj &val)
case MBOARD_PROP_RX_SUBDEV_SPEC:
_rx_subdev_spec = val.as<subdev_spec_t>();
- verify_rx_subdev_spec(_rx_subdev_spec, this->get_link());
+ verify_rx_subdev_spec(_rx_subdev_spec, _mboard_proxy->get_link());
//sanity check
UHD_ASSERT_THROW(_rx_subdev_spec.size() <= 2);
//set the mux and set the number of rx channels
@@ -307,7 +307,7 @@ void usrp1_impl::mboard_set(const wax::obj &key, const wax::obj &val)
case MBOARD_PROP_TX_SUBDEV_SPEC:
_tx_subdev_spec = val.as<subdev_spec_t>();
- verify_tx_subdev_spec(_tx_subdev_spec, this->get_link());
+ verify_tx_subdev_spec(_tx_subdev_spec, _mboard_proxy->get_link());
//sanity check
UHD_ASSERT_THROW(_tx_subdev_spec.size() <= 2);
//set the mux and set the number of tx channels