/[pcsclite]/trunk/Drivers/ccid/src/ccid.c
ViewVC logotype

Diff of /trunk/Drivers/ccid/src/ccid.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3280 by rousseau, Tue Jan 13 19:30:21 2009 UTC revision 3378 by rousseau, Thu Mar 26 14:34:35 2009 UTC
# Line 288  int ccid_open_hack(unsigned int reader_i Line 288  int ccid_open_hack(unsigned int reader_i
288                          (void)InterruptRead(reader_index);                          (void)InterruptRead(reader_index);
289  #endif  #endif
290                          break;                          break;
291    
292    #ifndef USE_USB_INTERRUPT
293                    /* only if we do not use USB interrupts */
294                    case GEMALTOPROXDU:
295                    case GEMALTOPROXSU:
296                            {
297                                    /* disable card movements notification
298                                     * with RDR_to_PC_NotifySlotChange */
299                                    unsigned char cmd[] = { 0x42, 0x00 /* disable */};
300                                    unsigned char res[10];
301                                    unsigned int length_res = sizeof(res);
302    
303                                    if (CmdEscape(reader_index, cmd, sizeof(cmd), res, &length_res) == IFD_SUCCESS)
304                                    {
305                                            DEBUG_COMM("NotifySlotChange disabled");
306                                    }
307                                    else
308                                    {
309                                            DEBUG_CRITICAL("NotifySlotChange disabling failed");
310                                    }
311                            }
312                            break;
313    #endif
314          }          }
315    
316          /* ICCD type A */          /* ICCD type A */

Legend:
Removed from v.3280  
changed lines
  Added in v.3378

  ViewVC Help
Powered by ViewVC 1.1.5