Changeset 70c85320 in mainline for uspace/drv/ohci/hc.c


Ignore:
Timestamp:
2011-05-19T07:21:31Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7941bd6, 8953514
Parents:
030937e
Message:

Fix crash on endpoint addition(make sure ep lists are initialized)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/hc.c

    r030937e r70c85320  
    539539                endpoint_list_fini(&instance->lists[USB_TRANSFER_CONTROL]); \
    540540                endpoint_list_fini(&instance->lists[USB_TRANSFER_BULK]); \
     541                return ret; \
    541542        } \
    542         return ret; \
    543543} while (0)
    544544
Note: See TracChangeset for help on using the changeset viewer.