Pete Batard wrote:
> A device that cannot be opened should not be kept instantiated by 
> libusbx outside of get_device_list-free_device_list, so maybe the
> only thing you miss is ensuring the device list is destroyed before
> you call on get_device_list again.

I don't think that should be neccessary. If replacing the driver does
not lead to a new libusb_device * for the device then I think it is a
bug if the device must be destroyed before accurate state is reported
by calls to _get_device_list().


//Peter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to