Commit 351a8d48 authored by Ben Hutchings's avatar Ben Hutchings Committed by Greg Kroah-Hartman

usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS

Now that usbip supports USB3, the maximum number of ports allowed
on a hub is 15 (USB_SS_MAXPORTS), not 31 (USB_MAXCHILDREN).
Reported-by: default avatarGianluigi Tiesi <sherpya@netfarm.it>
Reported-by: default avatarBorissh1983 <borissh1983@gmail.com>
References: https://bugs.debian.org/878866
Fixes: 1c9de5bf ("usbip: vhci-hcd: Add USB3 SuperSpeed support")
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c53439fb
......@@ -27,7 +27,7 @@ config USBIP_VHCI_HCD
config USBIP_VHCI_HC_PORTS
int "Number of ports per USB/IP virtual host controller"
range 1 31
range 1 15
default 8
depends on USBIP_VHCI_HCD
---help---
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment