usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS
authorBen Hutchings <ben@decadent.org.uk>
Mon, 29 Jan 2018 00:04:18 +0000 (00:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:41 +0000 (16:17 +0200)
commitb80114337d31e617196b3d10820886038d8128d0
tree59c7f90bbd56b0ed015352bc4dc41851b1024751
parentdd5541c7a60d9fe8715a0b7f90dbdac6c2457636
usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS

[ Upstream commit 351a8d4837ae0d61744e64262c3a80ab92ff3e42 ]

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: Gianluigi Tiesi <sherpya@netfarm.it>
Reported-by: Borissh1983 <borissh1983@gmail.com>
References: https://bugs.debian.org/878866
Fixes: 1c9de5bf4286 ("usbip: vhci-hcd: Add USB3 SuperSpeed support")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/Kconfig