diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-11 17:57:59 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-11-11 17:57:59 -0800 |
commit | 258d9bb45fbe7a0fa246f860eee7bf3e3b978fe3 (patch) | |
tree | 68bb69d2b8500ba9b7c3526a7953902aa78795e0 /host/lib/usrp/usrp2/dboard_impl.cpp | |
parent | 476afe68f5c37a3e10a1208b0150732d7770a023 (diff) | |
download | uhd-258d9bb45fbe7a0fa246f860eee7bf3e3b978fe3.tar.gz uhd-258d9bb45fbe7a0fa246f860eee7bf3e3b978fe3.tar.bz2 uhd-258d9bb45fbe7a0fa246f860eee7bf3e3b978fe3.zip |
usrp-n: populated name properties to use the generated cname from iface
Diffstat (limited to 'host/lib/usrp/usrp2/dboard_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/dboard_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp index 540c9fefb..f839a4058 100644 --- a/host/lib/usrp/usrp2/dboard_impl.cpp +++ b/host/lib/usrp/usrp2/dboard_impl.cpp @@ -64,7 +64,7 @@ void usrp2_mboard_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val){ //handle the get request conditioned on the key switch(key.as<dboard_prop_t>()){ case DBOARD_PROP_NAME: - val = std::string("usrp2 dboard (rx unit)"); + val = std::string(_iface->get_cname() + " dboard (rx unit)"); return; case DBOARD_PROP_SUBDEV: @@ -121,7 +121,7 @@ void usrp2_mboard_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val){ //handle the get request conditioned on the key switch(key.as<dboard_prop_t>()){ case DBOARD_PROP_NAME: - val = std::string("usrp2 dboard (tx unit)"); + val = std::string(_iface->get_cname() + " dboard (tx unit)"); return; case DBOARD_PROP_SUBDEV: |