uhd: remove uhd type argument

UHD recently modified the E100 type name from 'usrp-e' to
'e100' causing the device make to fail. Remove device type
checking to keep things working with the older and newer
names.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2661 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
kurtis.heimerl 2011-11-26 03:18:08 +00:00
parent ee5347af40
commit 2b28c696f8
1 changed files with 2 additions and 2 deletions

View File

@ -334,8 +334,8 @@ bool uhd_device::open()
{
LOG(INFO) << "creating USRP device...";
// Use the first available USRP E100
uhd::device_addr_t dev_addr("type=usrp-e");
// Allow all UHD devices
uhd::device_addr_t dev_addr("");
try {
usrp_dev = uhd::usrp::single_usrp::make(dev_addr);
}