Changeset 206f71a in mainline for uspace/drv/usbmid/usbmid.c


Ignore:
Timestamp:
2011-03-14T10:47:42Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c2343cc, c69209d
Parents:
6dd35e0
Message:

Getting max_packet_size for default control pipe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmid/usbmid.c

    r6dd35e0 r206f71a  
    116116                return NULL;
    117117        }
     118        rc = usb_endpoint_pipe_probe_default_control(&mid->ctrl_pipe);
     119        if (rc != EOK) {
     120                usb_log_error("Probing default control pipe failed: %s.\n",
     121                    str_error(rc));
     122                free(mid);
     123                return NULL;
     124        }
    118125
    119126        mid->dev = dev;
Note: See TracChangeset for help on using the changeset viewer.