Revision 130314f8 usb-linux.c

b/usb-linux.c
1029 1029
            }
1030 1030

  
1031 1031
            devep = descriptors[i + 2];
1032
            if ((devep & 0x0f) == 0) {
1033
                fprintf(stderr, "usb-linux: invalid ep descriptor, ep == 0\n");
1034
                return 1;
1035
            }
1036

  
1032 1037
            switch (descriptors[i + 3] & 0x3) {
1033 1038
            case 0x00:
1034 1039
                type = USBDEVFS_URB_TYPE_CONTROL;

Also available in: Unified diff