aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/multi_usrp.cpp
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2018-08-23 17:07:00 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-10-25 09:57:16 -0700
commit1256821f3e61ec677cd4b4e75be14f0f376f5215 (patch)
tree96a4ea0adb7d9bb152e58e1da47929bddf17f971 /host/lib/usrp/multi_usrp.cpp
parentbf353515b6f26fa280f6a8d3fed477cc97e4a7ec (diff)
downloaduhd-1256821f3e61ec677cd4b4e75be14f0f376f5215.tar.gz
uhd-1256821f3e61ec677cd4b4e75be14f0f376f5215.tar.bz2
uhd-1256821f3e61ec677cd4b4e75be14f0f376f5215.zip
X300: Add recovery for duplicate IP addresses in EEPROM
- Limit initialization to ZPU communication if recover_mb_eeprom=1 is set in device args.
Diffstat (limited to 'host/lib/usrp/multi_usrp.cpp')
-rw-r--r--host/lib/usrp/multi_usrp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 019502ee7..5e45df298 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -389,7 +389,7 @@ public:
_tree = _dev->get_tree();
_is_device3 = bool(boost::dynamic_pointer_cast<uhd::device3>(_dev));
- if (is_device3()) {
+ if (is_device3() and not addr.has_key("recover_mb_eeprom")) {
_legacy_compat = rfnoc::legacy_compat::make(get_device3(), addr);
}
}