Be compatible with LibUSB from sourceforge and close the handle after reset
Submitted by: Hans Petter Selasky
This commit is contained in:
parent
ffeeb9241a
commit
0b6e7271f0
@ -816,7 +816,11 @@ usb_reset(usb_dev_handle * dev)
|
||||
if (err)
|
||||
return (-1);
|
||||
|
||||
return (0);
|
||||
/*
|
||||
* Be compatible with LibUSB from sourceforge and close the
|
||||
* handle after reset!
|
||||
*/
|
||||
return (usb_close(dev));
|
||||
}
|
||||
|
||||
const char *
|
||||
|
Loading…
x
Reference in New Issue
Block a user