]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Sun, 4 Aug 2013 07:43:34 +0000 (15:43 +0800)
commit94c3bbaf01202674a406d075429513e321a5b236
treef16010dad5e64a40cbe061e82787a082fe224d5a
parent54b404671f9535d0bd6bf388686cc5f8ee245c36
usb: Clear both buffers when clearing a control transfer TT buffer.

commit 2c7b871b9102c497ba8f972aa5d38532f05b654d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c