mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
usb: hub: add check for unsupported bus topology
We can't allow hubs on the 7th tier as they would allow devices on the 8th tier. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
6deb270b5c
commit
38f3ad5e74
3 changed files with 8 additions and 2 deletions
|
@ -61,8 +61,6 @@
|
|||
#include "usb.h"
|
||||
#include "hcd.h"
|
||||
|
||||
#define MAX_TOPO_LEVEL 6
|
||||
|
||||
/* Define ALLOW_SERIAL_NUMBER if you want to see the serial number of devices */
|
||||
#define ALLOW_SERIAL_NUMBER
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue