summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-05-13 16:53:48 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-13 15:51:09 -0700
commit472b91274a6c6857877b5caddb875dcb5ecdfcb8 (patch)
tree66d78459ecd7c7a42e739501bba2b8f5918b180c /net/bridge
parentbf1f0a05d472e33dda8e5e69525be1584cdbd03a (diff)
usb: gadget: rndis: don't test against req->length
composite.c always sets req->length to zero and expects function driver's setup handlers to return the amount of bytes to be used on req->length. If we test against req->length w_length will always be greater than req->length thus making us always stall that particular SEND_ENCAPSULATED_COMMAND request. Tested against a Windows XP SP3. Signed-off-by: Felipe Balbi <balbi@ti.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions