mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-12 09:36:18 +00:00
call idle() from driver-dependent close() rather than from nfc_close() as some driver still need to do an ack() before
This commit is contained in:
@@ -324,6 +324,8 @@ error:
|
||||
static void
|
||||
acr122_pcsc_close(nfc_device *pnd)
|
||||
{
|
||||
pn53x_idle(pnd);
|
||||
|
||||
SCardDisconnect(DRIVER_DATA(pnd)->hCard, SCARD_LEAVE_CARD);
|
||||
acr122_pcsc_free_scardcontext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user