diff options
| author | Sven Schnelle <svens@stackframe.org> | 2011-03-23 23:36:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-30 04:24:30 +0400 |
| commit | 1744020ceb86c83d8116d28c7bdd221d071ca213 (patch) | |
| tree | 30fd65f463bbfd1a166bc1b9150a591489ff5bd3 /tools/perf/scripts/python/sctop.py | |
| parent | 25a73c6ce7f3b7b667a11a116d9607d6d5bf5cab (diff) | |
| download | linux-1744020ceb86c83d8116d28c7bdd221d071ca213.tar.xz | |
USB: dbgp gadget: fix return value of dbgp_setup
Current code returns 0 even if it can't handle the request.
This leads to timeouts when an unhandled request is sent:
Bus 001 Device 003: ID 0525:c0de Netchip Technology, Inc.
Device Descriptor:
[..]
can't get device qualifier: Connection timed out
[..]
change the code to return EOPNOTSUPP in such cases.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
