fixed usb/serial

This commit is contained in:
aiju 2011-05-23 07:01:56 +00:00
parent d9b80de6d5
commit fb9c05bbef

View file

@ -702,7 +702,7 @@ findendpoints(Serial *ser, int ifc)
*/
eps = ser->dev->usb->conf[0]->iface[ifc]->ep;
for(i = 0; i < Niface; i++){
for(i = 0; i < Nep; i++){
if((ep = eps[i]) == nil)
continue;
if(ser->hasepintr && ep->type == Eintr &&