Changeset 310c4df in mainline


Ignore:
Timestamp:
2011-05-06T08:30:10Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
075c1eb, 1181249, 22ded10, 26f6094, 30f9f8f, 3d4aa055
Parents:
054537b
Message:

Fixes in USB HID driver.

  • Missing loop in mouse subdriver.
  • Double free in kbd_free().
Location:
uspace/drv/usbhid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/kbd/kbddev.c

    r054537b r310c4df  
    10461046                free((*kbd_dev)->led_data);
    10471047        }
    1048         if ((*kbd_dev)->output_buffer != NULL) {
    1049                 free((*kbd_dev)->output_buffer);
    1050         }
    10511048        if ((*kbd_dev)->led_path != NULL) {
    10521049                usb_hid_report_path_free((*kbd_dev)->led_path);
  • uspace/drv/usbhid/mouse/mousedev.c

    r054537b r310c4df  
    268268            USB_HID_REPORT_TYPE_INPUT);
    269269
    270         if (field != NULL) {
     270        while (field != NULL) {
    271271                usb_log_debug(NAME " VALUE(%X) USAGE(%X)\n", field->value,
    272272                    field->usage);
Note: See TracChangeset for help on using the changeset viewer.