summaryrefslogtreecommitdiff
path: root/libusb/os/windows_winusb.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2021-01-05 19:46:39 +0100
committerChris Dickens <christopher.a.dickens@gmail.com>2021-01-15 08:03:36 -0800
commit62c059417559146a342beafabf3ff654a407e598 (patch)
treef28011c8b2be7899b1c72e55e8898e8eec176558 /libusb/os/windows_winusb.c
parent1f25bb7ff06e3864e8238ec118958d23800d7865 (diff)
downloadlibusb-62c059417559146a342beafabf3ff654a407e598.tar.gz
windows: Update link about control transfer size limits
Closes #839 Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/os/windows_winusb.c')
-rw-r--r--libusb/os/windows_winusb.c2
1 files changed, 1 insertions, 1 deletions
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;