Changeset 00b13408 in mainline for uspace/drv/usbhid/hiddev.c


Ignore:
Timestamp:
2011-03-18T17:17:04Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18b3cfd, 3746bfe
Parents:
4fec9ee
Message:

Fixed destroying of KBD structure when polling ended.

The structure must be destroyed in the autorepeat fibril, as there is
no nice way to stop the fibril on demand.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/hiddev.c

    r4fec9ee r00b13408  
    440440        if (rc != EOK) {
    441441                /* TODO: end session?? */
     442                usb_endpoint_pipe_end_session(&hid_dev->ctrl_pipe);
    442443                usb_log_error("Failed to process descriptors: %s.\n",
    443444                    str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.