summaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-11-19 15:51:45 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2013-11-19 15:51:45 -0800
commit621f9c93f345b7f2f6d061fe503ac71b042c4d32 (patch)
treef829a580204fb0a223eb39ed46a356304f2a7791 /host/lib/transport
parent465da9a7d38a6f651213b8189992dd65c800d61a (diff)
parent60108e3ca8fdab91d9e0e133c96f3e06916ac934 (diff)
downloaduhd-621f9c93f345b7f2f6d061fe503ac71b042c4d32.tar.gz
uhd-621f9c93f345b7f2f6d061fe503ac71b042c4d32.tar.bz2
uhd-621f9c93f345b7f2f6d061fe503ac71b042c4d32.zip
Merge branch 'bug182'
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/libusb1_base.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/transport/libusb1_base.cpp b/host/lib/transport/libusb1_base.cpp
index 4cf3ea17d..8bd0f4354 100644
--- a/host/lib/transport/libusb1_base.cpp
+++ b/host/lib/transport/libusb1_base.cpp
@@ -293,6 +293,10 @@ public:
return libusb::device_descriptor::make(this->get_device())->get().idProduct;
}
+ bool firmware_loaded() {
+ return (get_manufacturer() == "Ettus Research LLC");
+ }
+
private:
libusb::device::sptr _dev; //always keep a reference to device
};