t1_transceive(): check retries is is positive
t1_transceive(): check retries is is positive

The test was "retries == 0" but it may happen that retries becomes
negative. Then the counter will be decreasing "indefinitely".

The new test is "retries <= 0" to also get the negative values and
resync if needed.

The problem was detected by a T=1 card on a TPDU pinpad reader with a
VERIFY command that send a WTX request before returning the SW code.


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

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