mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 17:38:37 +08:00
Update to FreeBSD head 2019-09-24
Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
This commit is contained in:
@@ -1603,8 +1603,9 @@ usbd_req_get_port_status(struct usb_device *udev, struct mtx *mtx,
|
||||
USETW(req.wValue, 0);
|
||||
req.wIndex[0] = port;
|
||||
req.wIndex[1] = 0;
|
||||
USETW(req.wLength, sizeof *ps);
|
||||
return (usbd_do_request(udev, mtx, &req, ps));
|
||||
USETW(req.wLength, sizeof(*ps));
|
||||
|
||||
return (usbd_do_request_flags(udev, mtx, &req, ps, 0, NULL, 1000));
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
|
Reference in New Issue
Block a user