On Sat, May 12, 2012 at 11:53:31AM +0200, Martin Pieuchot wrote:
> When doing an USB_REQUEST on a usb(4) node, returns ENXIO if the device
> at the specified address is not found, like it's done for USB_DEVICEINFO.
>
> With this change it's possible to know if the specified address isn't
> valid
When doing an USB_REQUEST on a usb(4) node, returns ENXIO if the device
at the specified address is not found, like it's done for USB_DEVICEINFO.
With this change it's possible to know if the specified address isn't
valid (EINVAL) or has no device associated (ENXIO).
Ok?
Index: usb.c
==