Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a4eb520f in mainline


Ignore:
Timestamp:
2018-01-10T21:52:41Z (4 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master
Children:
9d170a1
Parents:
a70f349
Message:

usbdev: driver termination request erases polling failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devpoll.c

    ra70f349 ra4eb520f  
    136136                            params->on_error(data->dev, rc, params->arg);
    137137                        if (!cont) {
    138                                 failed_attempts = params->max_failures + 1;
     138                                /* This is user requested abort, erases failures. */
     139                                failed_attempts = 0;
     140                                break;
    139141                        }
    140142                        continue;
Note: See TracChangeset for help on using the changeset viewer.