]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usb: Clear both buffers when clearing a control transfer TT buffer.
authorWilliam Gulland <wgulland@google.com>
Thu, 27 Jun 2013 23:10:20 +0000 (16:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 18:37:13 +0000 (11:37 -0700)
commit2c7b871b9102c497ba8f972aa5d38532f05b654d
treea6fa6f81d62622fba4401c2b1f53e665fcd3df69
parent172d934c92089e9183165f7024eba9508cb9ebce
usb: Clear both buffers when clearing a control transfer TT buffer.

Control transfers have both IN and OUT (or SETUP) packets, so when
clearing TT buffers for a control transfer it's necessary to send
two HUB_CLEAR_TT_BUFFER requests to the hub.

Signed-off-by: William Gulland <wgulland@google.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c