Skip to content

Commit

Permalink
Update/complete CCID references
Browse files Browse the repository at this point in the history
Indicate the CCID revision and chapter name.
  • Loading branch information
LudovicRousseau committed Nov 4, 2023
1 parent 68c4eb4 commit a8f05cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ccid_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ static unsigned int *get_data_rates(unsigned int reader_index,
else
len = bNumDataRatesSupported;

/* See CCID 3.7.3 page 25 */
/* See CCID v1.1 ch. 5.3.3 GET_DATA_RATES page 24 */
n = ControlUSB(reader_index,
0xA1, /* request type */
0x03, /* GET_DATA_RATES */
Expand Down
4 changes: 2 additions & 2 deletions src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ static bool ccid_parse_interface_descriptor(libusb_device_handle *handle,
/* read up to the buffer size */
bNumClockSupported = sizeof(buffer) / sizeof(int);

/* See CCID 5.3.2 page 24 */
/* See CCID v1.1 ch. 5.3.2 GET_CLOCK_FREQUENCIES page 24 */
n = libusb_control_transfer(handle,
0xA1, /* request type */
0x02, /* GET CLOCK FREQUENCIES */
Expand Down Expand Up @@ -522,7 +522,7 @@ static bool ccid_parse_interface_descriptor(libusb_device_handle *handle,
else
n_max = bNumDataRatesSupported;

/* See CCID 5.3.3 page 24 */
/* See CCID v1.1 ch. 5.3.3 GET_DATA_RATES page 24 */
n = libusb_control_transfer(handle,
0xA1, /* request type */
0x03, /* GET DATA RATES */
Expand Down

0 comments on commit a8f05cc

Please sign in to comment.