]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a9c84659eae3f32c416fb97a3a835cacda61f31
tree3ff9aee7f4d4752bc5c0392e19845eae00a1ab77
parentaa8aaeb9cc3227ffa64631ff9955f73104984ad4
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