From 79e34b4d00f9bf162af3ad45c27e416ea0d5a39a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 18 Nov 2019 18:18:38 -0800 Subject: mpmd: Fix get_mboard_name() It used to produce the individual name of the USRP, but it should return a product name. --- host/lib/usrp/mpmd/mpmd_mb_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3