usbohci: revert td overrun error handling change from sources

regarding the ohci spec, a overrun td might supply a full
packet of data. this change seemed to have caused nusb/kb to
fail with getting spurious zero byte reads. reverting for now.
This commit is contained in:
cinap_lenrek 2012-11-24 16:41:38 +01:00
parent aadc581040
commit f8f118423c

View file

@ -1147,7 +1147,6 @@ qhinterrupt(Ctlr *, Ep *ep, Qio *io, Td *td, int)
switch(err){
case Tddataovr: /* Overrun is not an error */
break;
case Tdok:
/* virtualbox doesn't always report underflow on short packets */
if(td->cbp == 0)