Ticket #19 (closed defect: wontfix)
location is not initialised in usb_bus
|Reported by:||FJaouen||Owned by:|
|Keywords:||usb_bus bus location||Cc:|
While hacking on MTP devices management in rhythmbox, I've find that 'location' attribute of 'usb_bus' struct is not initialized when 'usb_os_find_busses' is called.
I propose the attached small fix that works very well for libusb/libmtp/rhythmbox.
I hope that despite libusb-0.1 is not maintened, this fix can be added to a new release.