SCardDisconnect(): remove the card handle only if SCARD_DISCONNECT command succeeded on the server
SCardDisconnect(): remove the card handle only if SCARD_DISCONNECT
command succeeded on the server

Related to alioth bug [#312960] SCardDisconnect when other context has
transaction
If a first SCardDisconnect() fails with SCARD_E_SHARING_VIOLATION it is
now possible to try again SCardDisconnect(). Before the patch the
second call to SCardDisconnect() returned SCARD_E_INVALID_HANDLE but the
connection was still "in use".


git-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@5572 0ce88b0d-b2fd-0310-8134-9614164e65ea

vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android,vicamo/pcsc-lite-android