USB: Clean up root hub string descriptors
authorGeorge Spelvin <linux@horizon.com>
Tue, 25 Aug 2009 02:06:41 +0000 (22:06 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:37 +0000 (06:46 -0700)
commit392ca68b401e0797115a08836642faad5778fdb2
tree8215eb8d605a85d28581fd0ef29f978617a8468d
parent48d316770bd4dcf3d21b53cfa91e358280c31d69
USB: Clean up root hub string descriptors

The previous code had a bug that would add a trailing null byte to
the returned descriptor.

Signed-off-by: George Spelvin <linux@horizon.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c