From de4545ed4f59f89d6123377b6bdafa59aed79238 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 17 Jul 2018 09:04:02 -0700 Subject: multi_usrp: Fix get_usrp_tx_info() for MPMD devices --- host/lib/usrp/multi_usrp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index 1d8a0fd7a..de1f760e2 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -454,7 +454,7 @@ public: const auto mb_eeprom = _tree->access(mb_root(mcp.mboard) / "eeprom").get(); usrp_info["mboard_id"] = _tree->access(mb_root(mcp.mboard) / "name").get(); - usrp_info["mboard_name"] = mb_eeprom["name"]; + usrp_info["mboard_name"] = mb_eeprom.get("name", "n/a"); usrp_info["mboard_serial"] = mb_eeprom["serial"]; usrp_info["tx_subdev_name"] = _tree->access(tx_rf_fe_root(chan) / "name").get(); usrp_info["tx_subdev_spec"] = _tree->access(mb_root(mcp.mboard) / "tx_subdev_spec").get().to_string(); -- cgit v1.2.3