Send 0-length IN packet to flush USB after full packet
authorKeith Packard <keithp@keithp.com>
Sat, 10 Oct 2009 20:39:01 +0000 (13:39 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 10 Oct 2009 20:39:01 +0000 (13:39 -0700)
USB bulk transfers are a sequence of maximum-sized packets followed by
a short packet, which signals the end of the transfer. When the last
packet of the transfer would be a full-sized packet, an additional
packet of zero length is sent to signal the transfer end.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found