rename nfc_disconnect() function to nfc_close().

This commit is contained in:
Audrey Diacre 2012-01-17 14:52:39 +00:00
parent 9d3ca39a44
commit 9eb37b3eee
35 changed files with 80 additions and 80 deletions

View file

@ -562,7 +562,7 @@ main (int argc, const char *argv[])
// Try to find a MIFARE Classic tag
if (nfc_initiator_select_passive_target (pnd, nmMifare, NULL, 0, &nt) < 0) {
printf ("Error: no tag was found\n");
nfc_disconnect (pnd);
nfc_close (pnd);
exit (EXIT_FAILURE);
}
// Test if we are dealing with a MIFARE compatible tag
@ -618,7 +618,7 @@ main (int argc, const char *argv[])
write_card (unlock);
}
nfc_disconnect (pnd);
nfc_close (pnd);
break;
case ACTION_EXTRACT:{