windows: Update link about control transfer size limits
authorTormod Volden <debian.tormod@gmail.com>
Tue, 5 Jan 2021 18:46:39 +0000 (19:46 +0100)
committerChris Dickens <christopher.a.dickens@gmail.com>
Fri, 15 Jan 2021 16:03:36 +0000 (08:03 -0800)
Closes #839

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_winusb.c
libusb/version_nano.h

index e9fcc8e..ea51038 100644 (file)
@@ -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;
 
index 083861c..b74033d 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11595
+#define LIBUSB_NANO 11596