diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2002-08-22 21:24:01 +0000 |
| commit | 4a6a94d8d803018858d728dad780253f98583be0 (patch) | |
| tree | 2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/dev/usb | |
| parent | b87a69181edd9027bb62760f7ba1b564ba5451aa (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/usbdi_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c index f349f4c10d0d9..38a32ff773d0d 100644 --- a/sys/dev/usb/usbdi_util.c +++ b/sys/dev/usb/usbdi_util.c @@ -289,7 +289,7 @@ usbd_get_report(usbd_interface_handle iface, int type, int id, void *data, usb_device_request_t req; DPRINTFN(4, ("usbd_set_report: len=%d\n", len)); - if (id == NULL) + if (id == 0) return (USBD_IOERROR); usbd_interface2device_handle(iface, &dev); req.bmRequestType = UT_READ_CLASS_INTERFACE; |
