summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2010-08-23 15:12:28 -0700
committerThomas Tsou <ttsou@vt.edu>2010-08-23 15:17:52 -0700
commitf65bdc31e4432d09d52b7f45d5bfbd1f945a1a6f (patch)
tree253a7e3903a9689819daabe2454e889bbc0e4327
parentf41cdf4eeb31a2fed2a93b23e0fbe5f3b2142296 (diff)
downloaduhd-f65bdc31e4432d09d52b7f45d5bfbd1f945a1a6f.tar.gz
uhd-f65bdc31e4432d09d52b7f45d5bfbd1f945a1a6f.tar.bz2
uhd-f65bdc31e4432d09d52b7f45d5bfbd1f945a1a6f.zip
usrp1: Fix bug in calculating transmit mux
Use transmit instead of receive properties.
-rw-r--r--host/lib/usrp/usrp1/mboard_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/mboard_impl.cpp b/host/lib/usrp/usrp1/mboard_impl.cpp
index 48a919f2a..74ec514ff 100644
--- a/host/lib/usrp/usrp1/mboard_impl.cpp
+++ b/host/lib/usrp/usrp1/mboard_impl.cpp
@@ -114,7 +114,7 @@ static boost::uint32_t calc_tx_mux(
//calculate the channel flags
int channel_flags = 0, chan = 0;
BOOST_FOREACH(const subdev_spec_pair_t &pair, subdev_spec){
- wax::obj dboard = mboard[named_prop_t(MBOARD_PROP_RX_DBOARD, pair.db_name)];
+ wax::obj dboard = mboard[named_prop_t(MBOARD_PROP_TX_DBOARD, pair.db_name)];
wax::obj subdev = dboard[named_prop_t(DBOARD_PROP_SUBDEV, pair.sd_name)];
subdev_conn_t conn = subdev[SUBDEV_PROP_CONNECTION].as<subdev_conn_t>();