mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-26 03:36:35 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user