From: Keith Packard Date: Thu, 19 Dec 2013 08:08:50 +0000 (-0800) Subject: altos/lpc: Stop sending SETUP IN when the requested size is reached X-Git-Tag: 1.3~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=a04c1dd5df76c9127615bc797a9d9f764eec1234;hp=a04c1dd5df76c9127615bc797a9d9f764eec1234 altos/lpc: Stop sending SETUP IN when the requested size is reached The host won't keep asking for SETUP IN packets once it has received the amount of data requested, so check to see if we've sent that much and flip back to IDLE state if so. Signed-off-by: Keith Packard ---