aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2008-12-01 15:24:41 +0000
committerGreg Kroah-Hartman <[email protected]>2008-12-17 18:49:14 +0000
commit24c0996a6b73e2554104961afcc8659534503e0d (patch)
treece806aca4dbe0b236a639a9067615594f8cdedf6 /net/unix/af_unix.c
parentUSB: fix comment about endianness of descriptors (diff)
downloadkernel-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