usb: interface authorization: Introduces the default interface authorization
authorStefan Koch <stefan.koch10@gmail.com>
Tue, 25 Aug 2015 19:10:06 +0000 (21:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2015 19:08:40 +0000 (12:08 -0700)
commit6b2bd3c8c69c4817a9a2feb4597021d486c105f4
tree13f2c1a83691b45149aa52bc5363e789c501c635
parent4ad2ddce1a096dea71d42969515d3a64f0d9246f
usb: interface authorization: Introduces the default interface authorization

Interfaces are allowed per default.
This can disabled or enabled (again) by writing 0 or 1 to
/sys/bus/usb/devices/usbX/interface_authorized_default

Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c
drivers/usb/core/message.c
include/linux/usb/hcd.h