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:
Romain Tartiere 2011-03-04 11:18:47 +00:00
parent 61a5268d65
commit b1521a3bb1

View file

@ -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);