usb: hub: add check for unsupported bus topology
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 12 Jun 2008 07:49:47 +0000 (10:49 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:26 +0000 (15:16 -0700)
commit38f3ad5e7463d4dd490a8081a5f3f9f2dec7ecd6
tree2dd60da46d065e4df9e34fe031d13e38bfc22dff
parent6deb270b5c60680ca9117bd545302ea6a58bad42
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>
drivers/usb/core/devices.c
drivers/usb/core/hcd.h
drivers/usb/core/hub.c