perform a PPS (PHSetProtocol()) only if the current protocol is SCARD_PROTOCOL_UNSET otherwise only check that the requested protocol is available.
perform a PPS (PHSetProtocol()) only if the current protocol is
SCARD_PROTOCOL_UNSET otherwise only check that the requested protocol is
available.

This will avoid generating a PPS request that would not be just after a
power up. The previous code worked only when the card was reseted at
SCardDisconnect() but not when SCARD_LEAVE_CARD was used.


git-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@1124 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