Searched refs:defaultClass (Results 1 – 1 of 1) sorted by relevance
438 int defaultClass=0, interfaceClass=0, currentConfigVal=0; in main() local580 defaultClass = descriptor.bDeviceClass; in main()595 if (defaultClass == 0 || defaultClass == 0xef) in main()596 defaultClass = interfaceClass; in main()598 if (interfaceClass == LIBUSB_CLASS_MASS_STORAGE && defaultClass != LIBUSB_CLASS_MASS_STORAGE in main()599 && defaultClass != LIBUSB_CLASS_VENDOR_SPEC) { in main()602 SHOW_PROGRESS(output,"Bogus Class/InterfaceClass: 0x%02x/0x08\n", defaultClass); in main()603 defaultClass = 8; in main()609 if (defaultClass != 8) { in main()611 "interface class is %d, expected 8. Abort\n\n", Interface, defaultClass); in main()