Changeset 5842493 in mainline


Ignore:
Timestamp:
2011-02-11T16:20:14Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d36c20, 1968de5
Parents:
4e38d69
Message:

Fix call leakage

Data read call is always answered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usbhc.c

    r4e38d69 r5842493  
    256256        if (outcome != USB_OUTCOME_OK) {
    257257                async_answer_0(trans->caller, outcome);
     258                if (trans->data_caller) {
     259                        async_answer_0(trans->data_caller, EINTR);
     260                }
    258261                async_transaction_destroy(trans);
    259262                return;
Note: See TracChangeset for help on using the changeset viewer.