Revision 079d0b7f usb-bsd.c

b/usb-bsd.c
214 214
    int ret, fd, mode;
215 215
    int one = 1, shortpacket = 0, timeout = 50;
216 216
    sigset_t new_mask, old_mask;
217
    uint8_t devep = p->devep;
217
    uint8_t devep = p->ep->nr;
218 218

  
219 219
    /* protect data transfers from SIGALRM signal */
220 220
    sigemptyset(&new_mask);

Also available in: Unified diff