From 62c059417559146a342beafabf3ff654a407e598 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Tue, 5 Jan 2021 19:46:39 +0100 Subject: windows: Update link about control transfer size limits Closes #839 Signed-off-by: Tormod Volden Signed-off-by: Chris Dickens --- libusb/os/windows_winusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libusb/os/windows_winusb.c') diff --git a/libusb/os/windows_winusb.c b/libusb/os/windows_winusb.c index e9fcc8e..ea51038 100644 --- a/libusb/os/windows_winusb.c +++ b/libusb/os/windows_winusb.c @@ -2726,7 +2726,7 @@ static int winusbx_submit_control_transfer(int sub_api, struct usbi_transfer *it size = transfer->length - LIBUSB_CONTROL_SETUP_SIZE; // Windows places upper limits on the control transfer size - // See: https://msdn.microsoft.com/en-us/library/windows/hardware/ff538112.aspx + // See: https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-bandwidth-allocation#maximum-transfer-size if (size > MAX_CTRL_BUFFER_LENGTH) return LIBUSB_ERROR_INVALID_PARAM; -- cgit v1.2.1