If the current driver name does not match what we are looking for, move to the
next one before retrying.
This commit is contained in:
parent
61a5268d65
commit
b1521a3bb1
@ -99,6 +99,7 @@ nfc_connect (nfc_device_desc_t * pndd)
|
||||
while ((ndr = *pndr)) {
|
||||
// Specific device is requested: using device description pndd
|
||||
if (0 != strcmp (ndr->name, pndd->pcDriver)) {
|
||||
pndr++;
|
||||
continue;
|
||||
} else {
|
||||
pnd = ndr->connect (pndd);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user