revert previous change, i was confused.

This commit is contained in:
cinap_lenrek 2014-04-24 22:02:47 +02:00
parent 634b40fe27
commit 0753d7852d

View file

@ -481,7 +481,7 @@ unstall(Dev *dev, Dev *ep, int dir)
else else
dir = 0; dir = 0;
r = Rh2d|Rstd|Rep; r = Rh2d|Rstd|Rep;
if(usbcmd(dev, r, Rclearfeature, Fhalt, (ep->addr&0xF)|dir, nil, 0)<0){ if(usbcmd(dev, r, Rclearfeature, Fhalt, (ep->id&0xF)|dir, nil, 0)<0){
werrstr("unstall: %s: %r", ep->dir); werrstr("unstall: %s: %r", ep->dir);
return -1; return -1;
} }