This fixes a bug from "Applied libusb-1.0 patch set from Thomas
Tsou <ttsou@vt.edu>"
b5aa407ec2b1bdebc1c950a9428789fe50327776
The bus rescan after firmware load was stomped with the addition of
libusb-1.0 support causing the subsequent device open to fail.
libusb-1.0 doesn't (appear to) require the bus to be explicity
rescanned. The rescan is added back for libusb-0.1. For libusb-1.0
the rescan nops.
// FIXME. Turn this into a loop that rescans until we refind ourselves
- struct timespec t; // delay for 1 second
+ struct timespec t; // delay for 2 second
t.tv_sec = 2;
t.tv_nsec = 0;
our_nanosleep (&t);
+ usrp_rescan ();
+
return ULS_OK;
default: