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/dsp_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/dsp_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/dsp_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/dsp_impl.cpp b/host/lib/usrp/usrp2/dsp_impl.cpp index c8da03955..243a8e905 100644 --- a/host/lib/usrp/usrp2/dsp_impl.cpp +++ b/host/lib/usrp/usrp2/dsp_impl.cpp @@ -61,7 +61,7 @@ void usrp2_mboard_impl::ddc_get(const wax::obj &key_, wax::obj &val){ switch(key.as<dsp_prop_t>()){ case DSP_PROP_NAME: - val = std::string("usrp2 ddc0"); + val = std::string(_iface->get_cname() + " ddc0"); return; case DSP_PROP_OTHERS: @@ -144,7 +144,7 @@ void usrp2_mboard_impl::duc_get(const wax::obj &key_, wax::obj &val){ switch(key.as<dsp_prop_t>()){ case DSP_PROP_NAME: - val = std::string("usrp2 duc0"); + val = std::string(_iface->get_cname() + " duc0"); return; case DSP_PROP_OTHERS: |