Do not get the data rates if bNumDataRatesSupported = 0
Do not get the data rates if bNumDataRatesSupported = 0

According to CCID spec 1.1: " If the value is 00h, all data rates
between the default data rate dwDataRate and the maximum data rate
dwMaxDataRate are supported. "

Some readers do not support control request 0x03 GET_DATA_RATES if they
declare bNumDataRatesSupported = 0. That should not generate a critical
error.

This change will fix bug [#314516] Do not log ccid_usb.c:1142:ControlUSB() control failed (1/4): -9 Success
https://alioth.debian.org/tracker/index.php?func=detail&aid=314516&group_id=30105&atid=410088

and also fix bug [#313651] Do not call get_data_rates() if bNumDataRatesSupported is 0
https://alioth.debian.org/tracker/index.php?func=detail&aid=313651&group_id=30105&atid=410088


git-svn-id: d8b078d517c8be834637447f210d7177f0fa38d6@6801 0ce88b0d-b2fd-0310-8134-9614164e65ea

LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom