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

Will refuse to configure a non-authorized device.

Update: simplified if statement--thanks to Ragner Magalhaes for the
heads up.

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