mitsu70x: All models should use the 256K data chunk writes.

This commit is contained in:
Solomon Peachy 2014-12-29 15:38:34 -05:00
parent be32e335d3
commit c759fda455

View file

@ -434,7 +434,7 @@ top:
INFO("Sending data\n");
if (ctx->k60) {
{
/* K60 and 305 need data sent in 256K chunks, but the first
chunk needs to subtract the length of the 512-byte header */
int chunk = 256*1024 - 512;
@ -448,10 +448,6 @@ top:
if (chunk > 256*1024)
chunk = 256*1024;
}
} else {
if ((ret = send_data(ctx->dev, ctx->endp_down,
ctx->databuf + 1024, ctx->datalen - 1024)))
return CUPS_BACKEND_FAILED;
}
state = S_SENT_DATA;