diff options
author | Horst Schirmeier <horst@schirmeier.com> | 2006-03-11 00:16:55 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 14:50:02 -0800 |
commit | 24f8b116c45e46779dec553f934c3d74f79c06fb (patch) | |
tree | cc6c86511c5b98b702fa86e857a2359dacdebab2 /drivers/usb/serial | |
parent | f88f8295d8a9229fc8b647baf4f15959384d7bb7 (diff) |
[PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS
check_ctrlrecip() disallows any control transfers if the device is
deconfigured (in configuration 0, ie. state ADDRESS). This for example
makes it impossible to read the device descriptors without configuring the
device, although most standard device requests are allowed in this state by
the spec. This patch allows control transfers for the ADDRESS state, too.
Signed-off-by: Horst Schirmeier <horst@schirmeier.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions