~ubuntu-branches/ubuntu/wily/acsccid/wily

« back to all changes in this revision

Viewing changes to src/ccid_usb.c

  • Committer: Package Import Robot
  • Author(s): Godfrey Chung
  • Date: 2013-09-02 11:46:30 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130902114630-lujvp61jp7wacnwv
Tags: 1.0.5-1
* New upstream release.
* Updated Standards-Version to 3.9.4.
* Updated debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    ccid_usb.c: USB access routines using the libusb library
3
3
    Copyright (C) 2003-2009   Ludovic Rousseau
4
 
    Copyright (C) 2009-2012   Advanced Card Systems Ltd.
 
4
    Copyright (C) 2009-2013   Advanced Card Systems Ltd.
5
5
 
6
6
    This library is free software; you can redistribute it and/or
7
7
    modify it under the terms of the GNU Lesser General Public
468
468
                                                else if ((ACS_ACR1281_DUAL_READER_QPBOC == readerID) ||
469
469
                                                        (ACS_ACR1281_DUAL_READER_BSI == readerID) ||
470
470
                                                        (ACS_ACR1281_1S_PICC_READER == readerID) ||
471
 
                                                        (ACS_ACR1251_1S_CL_READER == readerID))
 
471
                                                        (ACS_ACR1251_1S_CL_READER == readerID) ||
 
472
                                                        (ACS_ACR1251U_C == readerID))
472
473
                                                {
473
474
                                                        // the CCID interfaces are 0 and 1
474
475
                                                        interface_number = static_interface - 1;
854
855
 
855
856
                                        // The 2nd interface (composite device) is a SAM slot
856
857
                                        if ((readerID == ACS_ACR1281_1S_PICC_READER) ||
857
 
                                                (readerID == ACS_ACR1251_1S_CL_READER))
 
858
                                                (readerID == ACS_ACR1251_1S_CL_READER) ||
 
859
                                                (readerID == ACS_ACR1251U_C))
858
860
                                        {
859
861
                                                if (interface == 1)
860
862
                                                        usbDevice[reader_index].ccid.isSamSlot = TRUE;