revert previous change, i was confused.
This commit is contained in:
parent
634b40fe27
commit
0753d7852d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue