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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue