diff options
| author | Alan Stern <[email protected]> | 2008-12-01 15:24:41 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2008-12-17 18:49:14 +0000 |
| commit | 24c0996a6b73e2554104961afcc8659534503e0d (patch) | |
| tree | ce806aca4dbe0b236a639a9067615594f8cdedf6 /net/unix/af_unix.c | |
| parent | USB: fix comment about endianness of descriptors (diff) | |
| download | kernel-24c0996a6b73e2554104961afcc8659534503e0d.tar.gz kernel-24c0996a6b73e2554104961afcc8659534503e0d.zip | |
USB: skip Set-Interface(0) if already in altsetting 0
When a driver unbinds from an interface, usbcore always sends a
Set-Interface request to reinstall altsetting 0. Unforunately, quite
a few devices have buggy firmware that crashes when it receives this
request.
To avoid such problems, this patch (as1180) arranges to send the
Set-Interface request only when the interface is not already in
altsetting 0.
Signed-off-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
