- Timestamp:
- 05/25/07 10:33:31 (5 years ago)
- File:
-
- 1 edited
-
trunk/src/ifd/sys-linux.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ifd/sys-linux.c
r941 r943 409 409 * driver ccid... */ 410 410 411 if (!(driver = ifd_driver_for_id(&id))) 412 continue; 411 if (!(driver = ifd_driver_for_id(&id))) { 412 /* no driver found, check for interface class */ 413 int ccid=0; 414 int conf; 415 for (conf = 0; conf < 416 dev->descriptor.bNumConfigurations; 417 conf++) { 418 int interf; 419 for (interf = 0; interf < 420 dev->config[conf].bNumInterfaces; 421 interf++) { 422 int alt; 423 for (alt = 0; alt < dev->config[conf].interface[interf].num_altsetting; alt++) { 424 if (dev->config[conf].interface[interf].altsetting[alt].bInterfaceClass == 0x0b) { 425 ccid=1; 426 } 427 } 428 } 429 } 430 431 /* not a ccid device */ 432 if (!ccid) 433 continue; 434 } 413 435 414 436 snprintf(typedev, sizeof(typedev),
Note: See TracChangeset
for help on using the changeset viewer.
