usrp: Fixed firmware load regression
authorThomas Tsou <ttsou@vt.edu>
Fri, 16 Oct 2009 00:58:32 +0000 (20:58 -0400)
committerThomas Tsou <ttsou@vt.edu>
Fri, 16 Oct 2009 01:32:11 +0000 (21:32 -0400)
commit0f4226088ba84e25139bf77957c80ca7a64cba11
tree7e0be2b0d89024909dbc14b4d63a4b67d1ccecb9
parent84ba64078a2a37b2324d693ba0048e635373bfb6
usrp: Fixed firmware load regression

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.
usrp/host/lib/usrp_prims_common.cc