Commit c02c4bb2058587d3c012ec08268fd93fdc654ae7
Committed by
Greg Kroah-Hartman
1 parent
877260bd26
Exists in
master
and in
7 other branches
[PATCH] USB: USB authentication states
Another hook needed for wireless USB: there are states associated with the device authentication protocol. Wireless devices must authenticate using the host system's keystore. Note that wired connections could also use this authentication protocol, if for no other reason than to support the most secure "simple" key exchange protocols for wireless devices. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Showing 1 changed file with 4 additions and 2 deletions Side-by-side Diff
include/linux/usb_ch9.h
... | ... | @@ -535,9 +535,11 @@ |
535 | 535 | */ |
536 | 536 | USB_STATE_NOTATTACHED = 0, |
537 | 537 | |
538 | - /* the chapter 9 device states */ | |
538 | + /* chapter 9 and authentication (wireless) device states */ | |
539 | 539 | USB_STATE_ATTACHED, |
540 | - USB_STATE_POWERED, | |
540 | + USB_STATE_POWERED, /* wired */ | |
541 | + USB_STATE_UNAUTHENTICATED, /* auth */ | |
542 | + USB_STATE_RECONNECTING, /* auth */ | |
541 | 543 | USB_STATE_DEFAULT, /* limited function */ |
542 | 544 | USB_STATE_ADDRESS, |
543 | 545 | USB_STATE_CONFIGURED, /* most functions */ |