usb: usb_get_configuration() obeys authorization
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 1 Aug 2007 03:34:02 +0000 (20:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:06 +0000 (14:55 -0700)
commit1145065cd0434b0fd5cd7c0efe0f1438fb154ed0
treeb124106b43b5b4c656111952200b8b061e685b5c
parent16bbab2966309ae82cda3d378964c56096d4858c
usb: usb_get_configuration() obeys authorization

If called and the device is not authorized to be used, then we don't
allow reading the configurations.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c