USB: allow libusb to talk to unauthenticated WUSB devices
authorDavid Vrabel <david.vrabel@csr.com>
Wed, 18 Feb 2009 14:43:47 +0000 (14:43 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:35 +0000 (16:20 -0700)
commit6da9c99059bf24fb1faae6b9613bae64ea50c05e
treef190e2d2b6daab5d8b02c57b24ac37f43a50c1b7
parent4246b06a33ebdd6593dccaab3aa01eb0c9f8c1c8
USB: allow libusb to talk to unauthenticated WUSB devices

To permit a userspace application to associate with WUSB devices
using numeric association, control transfers to unauthenticated WUSB
devices must be allowed.

This requires that wusbcore correctly sets the device state to
UNAUTHENTICATED, DEFAULT and ADDRESS and that control transfers can be
performed to UNAUTHENTICATED devices.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c
drivers/usb/core/hub.c
drivers/usb/core/urb.c
drivers/usb/wusbcore/devconnect.c
drivers/usb/wusbcore/security.c
include/linux/usb/ch9.h