Changeset 206f71a in mainline for uspace/lib/usb/src/hub.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/lib/usb/src/hub.c

    r6dd35e0 r206f71a  
    235235                goto leave_release_default_address;
    236236        }
     237        rc = usb_endpoint_pipe_probe_default_control(&ctrl_pipe);
     238        if (rc != EOK) {
     239                rc = ENOTCONN;
     240                goto leave_release_default_address;
     241        }
    237242
    238243        rc = usb_endpoint_pipe_start_session(&ctrl_pipe);
Note: See TracChangeset for help on using the changeset viewer.