summaryrefslogtreecommitdiff
path: root/usrp/host/lib/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'usrp/host/lib/legacy')
-rw-r--r--usrp/host/lib/legacy/db_xcvr2450.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/host/lib/legacy/db_xcvr2450.cc b/usrp/host/lib/legacy/db_xcvr2450.cc
index e0c3f91c2..c86b865f5 100644
--- a/usrp/host/lib/legacy/db_xcvr2450.cc
+++ b/usrp/host/lib/legacy/db_xcvr2450.cc
@@ -607,7 +607,7 @@ _get_or_make_xcvr2450(usrp_basic_sptr usrp, int which)
}
}
- if(itr != _xcvr2450_inst.end()) {
+ if(itr == _xcvr2450_inst.end()) {
printf("Creating new xcvr2450 instance\n");
inst = xcvr2450_sptr(new xcvr2450(usrp, which));
_xcvr2450_inst.push_back(inst);