]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
Removed unused variable
[proxmark3-svn] / client / cmdhf14a.c
index 917411349f7f2bc4a91ae8ec79f282ef6cacf49c..c997607652c9c8b632a6dffcf239efd5c23d31e1 100644 (file)
@@ -191,6 +191,11 @@ int CmdHF14AReader(const char *Cmd)
        
        if(select_status == 0) {
                PrintAndLog("iso14443a card select failed");
+               // disconnect
+               c.arg[0] = 0;
+               c.arg[1] = 0;
+               c.arg[2] = 0;
+               SendCommand(&c);
                return 0;
        }
 
Impressum, Datenschutz