usb: interface authorization: Introduces the default interface authorization
authorStefan Koch <stefan.koch10@gmail.com>
Sat, 8 Aug 2015 09:32:51 +0000 (11:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Aug 2015 23:54:30 +0000 (16:54 -0700)
commit1d958bef45030acfc5578263e9de3bb07032b8da
treef17eacfa5f1f22472c85af8a54c773f26c993442
parent484ebaedecc5ddf778a30ee1efab367cbee27030
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 <skoch@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c
drivers/usb/core/message.c
include/linux/usb/hcd.h