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:
parent
aadc581040
commit
f8f118423c
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue