aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-02-16 11:52:04 +0100
committerMartin Braun <martin.braun@ettus.com>2015-02-16 11:52:04 +0100
commit120951bffce3e6b8ed9eda52c73203ead74392de (patch)
tree6299c67ce567fe25b5d0f41b96a811ddf91af138 /host/lib/usrp/b200
parent7d97ab60012b99ed92fb122a3a68d68515a404fa (diff)
parent8ec775e936b15404b34d34fd08cc5b3b3489055b (diff)
downloaduhd-120951bffce3e6b8ed9eda52c73203ead74392de.tar.gz
uhd-120951bffce3e6b8ed9eda52c73203ead74392de.tar.bz2
uhd-120951bffce3e6b8ed9eda52c73203ead74392de.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/b200')
-rw-r--r--host/lib/usrp/b200/b200_impl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp
index f07b7fc6f..c1729ead3 100644
--- a/host/lib/usrp/b200/b200_impl.cpp
+++ b/host/lib/usrp/b200/b200_impl.cpp
@@ -86,7 +86,9 @@ static device_addrs_t b200_find(const device_addr_t &hint)
//Return an empty list of addresses when an address or resource is specified,
//since an address and resource is intended for a different, non-USB, device.
- if (hint.has_key("addr") || hint.has_key("resource")) return b200_addrs;
+ BOOST_FOREACH(device_addr_t hint_i, separate_device_addr(hint)) {
+ if (hint_i.has_key("addr") || hint_i.has_key("resource")) return b200_addrs;
+ }
size_t found = 0;
std::vector<usb_device_handle::vid_pid_pair_t> vid_pid_pair_list;//vid pid pair search list for devices.