diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-18 18:18:38 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:34 -0800 |
commit | 79e34b4d00f9bf162af3ad45c27e416ea0d5a39a (patch) | |
tree | 8d82dc3bdf33c04af708640d7430a2079cfe0bb2 | |
parent | c481e320262e1b333673c8628f8046134c0605d1 (diff) | |
download | uhd-79e34b4d00f9bf162af3ad45c27e416ea0d5a39a.tar.gz uhd-79e34b4d00f9bf162af3ad45c27e416ea0d5a39a.tar.bz2 uhd-79e34b4d00f9bf162af3ad45c27e416ea0d5a39a.zip |
mpmd: Fix get_mboard_name()
It used to produce the individual name of the USRP, but it should return
a product name.
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_mb_controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_mb_controller.cpp b/host/lib/usrp/mpmd/mpmd_mb_controller.cpp index e9310d01d..13e57b273 100644 --- a/host/lib/usrp/mpmd/mpmd_mb_controller.cpp +++ b/host/lib/usrp/mpmd/mpmd_mb_controller.cpp @@ -67,7 +67,7 @@ void mpmd_mb_controller::mpmd_timekeeper::update_tick_rate(const double tick_rat *****************************************************************************/ std::string mpmd_mb_controller::get_mboard_name() const { - return _device_info.get("name", "UNKNOWN"); + return _device_info.get("product", "UNKNOWN"); } void mpmd_mb_controller::set_time_source(const std::string& source) |