Fix bug in bulk transport
commit29905f700c627d57b3b8020082f0bcd5b1e7fe3a
authorBrian Johnson <brijohn@gmail.com>
Sat, 27 Dec 2008 23:23:37 +0000 (27 18:23 -0500)
committerBrian Johnson <brijohn@gmail.com>
Sat, 27 Dec 2008 23:23:37 +0000 (27 18:23 -0500)
treece0ebf05e081d69eef3339c6e5329d1a8e75ba5c
parent3facf1e21d636fb14d72970e50baeafd072108bb
Fix bug in bulk transport

This patch fixes a bug in the current bulk transport code when
the bridge format is set to any other value then raw frames.

When the bridge returns raw frames, the 64 byte frame header
is contained in a single bulk transport packet. However when
the bridge is not returning raw frames the frame header can be
at the end off a longer bulk packet.

Signed-off-by: Brian Johnson <brijohn@gmail.com>
microdia-usb.c