diff options
author | Andre Herms <[email protected]> | 2009-11-19 18:14:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-12-11 11:55:25 -0800 |
commit | ec412b92dbe3ea839716853eea058d1bcc5e6ca4 (patch) | |
tree | 1a06573fea556fb6b45132b4130306b741bf3fce /net/lapb/lapb_iface.c | |
parent | 7723de7e19b744144975a09c81777ec0f14ac5b3 (diff) |
USB: usbtmc: repeat usb_bulk_msg until whole message is transfered
usb_bulk_msg() transfers only bytes up to the maximum packet size.
It must be repeated by the usbtmc driver until all bytes of a TMC message
are transfered.
Without this patch, ETIMEDOUT is reported when writing TMC messages
larger than the maximum USB bulk size and the transfer remains incomplete.
The user will notice that the device hangs and must be reset by either closing
the application or pulling the plug.
Signed-off-by: Andre Herms <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions